mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2025-01-19 15:18:38 +01:00
cconfig: add some documentation to init functions
This commit is contained in:
parent
82ac30e49f
commit
7ea12a8517
@ -4,6 +4,12 @@
|
|||||||
#include "cconfig/cconfig.h"
|
#include "cconfig/cconfig.h"
|
||||||
#include "cconfig/cmd.h"
|
#include "cconfig/cmd.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Init function for cconfig for hooks
|
||||||
|
*
|
||||||
|
* calls cconfig_main_config_init with some defaults for hook dlls
|
||||||
|
* see: cconfig_main_config_init for more details
|
||||||
|
*/
|
||||||
bool cconfig_hook_config_init(
|
bool cconfig_hook_config_init(
|
||||||
struct cconfig *config,
|
struct cconfig *config,
|
||||||
const char *usage_header,
|
const char *usage_header,
|
||||||
|
@ -4,6 +4,12 @@
|
|||||||
#include "cconfig/cconfig.h"
|
#include "cconfig/cconfig.h"
|
||||||
#include "cconfig/cmd.h"
|
#include "cconfig/cmd.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Init function for cconfig after all cconfig_util_set's have been called
|
||||||
|
*
|
||||||
|
* will parse a config file first (if specified)
|
||||||
|
* then uses override config parameters from cmd
|
||||||
|
*/
|
||||||
bool cconfig_main_config_init(
|
bool cconfig_main_config_init(
|
||||||
struct cconfig *config,
|
struct cconfig *config,
|
||||||
const char *config_cmd_param_name,
|
const char *config_cmd_param_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user