1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/libc/xs/config/configRule.xs
David Steele 8efcc38304 Improvements in C codebase:
* Update C naming conventions.
* Use int datatype wherever possible.
* Better separation of C source from Perl interface.
2017-09-30 10:44:03 -04:00

128 lines
2.4 KiB
Plaintext

# ----------------------------------------------------------------------------------------------------------------------------------
# Config Rule Perl Exports
# ----------------------------------------------------------------------------------------------------------------------------------
MODULE = pgBackRest::LibC PACKAGE = pgBackRest::LibC
I32
cfgCommandId(commandName)
const char *commandName
I32
cfgOptionId(optionName)
const char *optionName
bool
cfgRuleOptionAllowList(commandId, optionId)
U32 commandId
U32 optionId
const char *
cfgRuleOptionAllowListValue(commandId, optionId, valueId)
U32 commandId
U32 optionId
U32 valueId
I32
cfgRuleOptionAllowListValueTotal(commandId, optionId)
U32 commandId
U32 optionId
bool
cfgRuleOptionAllowListValueValid(commandId, optionId, value);
U32 commandId
U32 optionId
const char *value
bool
cfgRuleOptionAllowRange(commandId, optionId)
U32 commandId
U32 optionId
double
cfgRuleOptionAllowRangeMax(commandId, optionId)
U32 commandId
U32 optionId
double
cfgRuleOptionAllowRangeMin(commandId, optionId)
U32 commandId
U32 optionId
const char *
cfgRuleOptionDefault(commandId, optionId)
U32 commandId
U32 optionId
bool
cfgRuleOptionDepend(commandId, optionId);
U32 commandId
U32 optionId
I32
cfgRuleOptionDependOption(commandId, optionId)
U32 commandId
U32 optionId
const char *
cfgRuleOptionDependValue(commandId, optionId, valueId)
U32 commandId
U32 optionId
U32 valueId
I32
cfgRuleOptionDependValueTotal(commandId, optionId)
U32 commandId
U32 optionId
bool
cfgRuleOptionDependValueValid(commandId, optionId, value)
U32 commandId
U32 optionId
const char *value
const char *
cfgRuleOptionHint(commandId, optionId)
U32 commandId
U32 optionId
const char *
cfgRuleOptionNameAlt(optionId)
U32 optionId
bool cfgRuleOptionNegate(optionId)
U32 optionId
const char *
cfgRuleOptionPrefix(optionId)
U32 optionId
bool
cfgRuleOptionRequired(commandId, optionId)
U32 commandId
U32 optionId
const char *
cfgRuleOptionSection(optionId)
U32 optionId
bool
cfgRuleOptionSecure(optionId)
U32 optionId
I32
cfgRuleOptionType(optionId);
U32 optionId
bool
cfgRuleOptionValid(commandId, optionId)
U32 commandId
U32 optionId
U32
cfgOptionTotal()
bool
cfgRuleOptionValueHash(optionId)
U32 optionId