PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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-2017, 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;
16 } ConfigData;
17 
18 extern ConfigData *get_configdata(const char *my_exec_path,
19  size_t *configdata_len);
20 
21 #endif /* COMMON_CONFIG_INFO_H */
char * name
Definition: config_info.h:14
char * setting
Definition: config_info.h:15
struct ConfigData ConfigData
char my_exec_path[MAXPGPATH]
Definition: globals.c:64
ConfigData * get_configdata(const char *my_exec_path, size_t *configdata_len)
Definition: config_info.c:34