PostgreSQL Source Code  git master
config_info.h
Go to the documentation of this file.
1 /*
2  * config_info.h
3  * Common code for pg_config output
4  *
5  * Copyright (c) 2016-2024, PostgreSQL Global Development Group
6  *
7  * src/include/common/config_info.h
8  */
9 #ifndef COMMON_CONFIG_INFO_H
10 #define COMMON_CONFIG_INFO_H
11 
12 typedef struct ConfigData
13 {
14  char *name;
15  char *setting;
17 
18 extern ConfigData *get_configdata(const char *my_exec_path,
19  size_t *configdata_len);
20 
21 #endif /* COMMON_CONFIG_INFO_H */
ConfigData * get_configdata(const char *my_exec_path, size_t *configdata_len)
Definition: config_info.c:33
struct ConfigData ConfigData
char my_exec_path[MAXPGPATH]
Definition: globals.c:78
char * name
Definition: config_info.h:14
char * setting
Definition: config_info.h:15