PostgreSQL Source Code  git master
conffiles.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------
2  * conffiles.h
3  *
4  * Utilities related to configuration files.
5  *
6  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/utils/conffiles.h
10  *
11  *--------------------------------------------------------------------
12  */
13 #ifndef CONFFILES_H
14 #define CONFFILES_H
15 
16 /* recursion nesting depth for configuration files */
17 #define CONF_FILE_START_DEPTH 0
18 #define CONF_FILE_MAX_DEPTH 10
19 
20 extern char *AbsoluteConfigLocation(const char *location,
21  const char *calling_file);
22 extern char **GetConfFilesInDir(const char *includedir,
23  const char *calling_file,
24  int elevel, int *num_filenames,
25  char **err_msg);
26 
27 #endif /* CONFFILES_H */
char * AbsoluteConfigLocation(const char *location, const char *calling_file)
Definition: conffiles.c:36
char ** GetConfFilesInDir(const char *includedir, const char *calling_file, int elevel, int *num_filenames, char **err_msg)
Definition: conffiles.c:70