Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/***********************************************************************************************************************************
Exec Configuration
***********************************************************************************************************************************/
#ifndef CONFIG_EXEC_H
#define CONFIG_EXEC_H
 
#include "common/type/stringList.h"
#include "config/config.h"
 
/***********************************************************************************************************************************
Functions
***********************************************************************************************************************************/
// Generate a list of options required for execution of a new command, overriding options with the values in optionReplace when
// present. If local is set then the new command must have access to the local configuration files and environment since only
// options originally passed on the command-line will be added to the list. Use quote when the options will be used as a
// concatenated string rather than being passed directly to exec*() as a list.
FN_EXTERN StringList *cfgExecParam(
    ConfigCommand commandId, ConfigCommandRole commandRoleId, const KeyValue *optionReplace, bool local, bool quote);
 
#endif