| 1 | /* |
|---|---|
| 2 | * config_info.h |
| 3 | * Common code for pg_config output |
| 4 | * |
| 5 | * Copyright (c) 2016-2019, 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 */ |
| 22 |