summaryrefslogtreecommitdiffstats
path: root/src/include/common/config_info.h
blob: 814f4d3d1bbc7b6298b6c2f3e84f7b46e579c211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * config_info.h
 *		Common code for pg_config output
 *
 *	Copyright (c) 2016-2021, PostgreSQL Global Development Group
 *
 *	src/include/common/config_info.h
 */
#ifndef COMMON_CONFIG_INFO_H
#define COMMON_CONFIG_INFO_H

typedef struct ConfigData
{
	char	   *name;
	char	   *setting;
} ConfigData;

extern ConfigData *get_configdata(const char *my_exec_path,
								  size_t *configdata_len);

#endif							/* COMMON_CONFIG_INFO_H */