24 #ifndef __LIBS_BASEAPP_INIT_OPTIONS_H_ 25 #define __LIBS_BASEAPP_INIT_OPTIONS_H_ 27 #include <logging/logger.h> 28 #include <utils/system/dynamic_module/module.h> 47 InitOptions & net_tcp_port(
unsigned short int port);
48 InitOptions & net_service_name(
const char *service_name);
50 bool kill =
false,
bool status =
false,
51 const char *pid_file = 0);
59 InitOptions & init_plugin_cache(
bool init_plugin_cache);
60 InitOptions & load_plugins(
const char *plugin_list);
61 InitOptions & default_plugin(
const char *default_plugin);
65 const char *basename()
const;
67 bool has_net_tcp_port()
const;
68 unsigned short int net_tcp_port()
const;
69 bool has_net_service_name()
const;
70 const char * net_service_name()
const;
72 bool has_load_plugin_list()
const;
73 const char * load_plugin_list()
const;
74 const char * default_plugin()
const;
77 bool has_loggers()
const;
78 const char * loggers()
const;
81 bool show_help()
const;
82 bool bb_cleanup()
const;
83 bool init_plugin_cache()
const;
85 bool daemonize()
const;
86 bool daemonize_kill()
const;
87 bool daemonize_status()
const;
88 const char * daemon_pid_file()
const;
91 bool has_username()
const;
92 const char * username()
const;
93 bool has_groupname()
const;
94 const char * groupname()
const;
96 const char * config_file()
const;
100 bool default_signal_handlers()
const;
105 bool __has_net_tcp_port;
106 unsigned short int __net_tcp_port;
108 bool __has_load_plugin_list;
109 char *__load_plugin_list;
110 char *__default_plugin;
116 bool __has_net_service_name;
117 char *__net_service_name;
121 bool __has_groupname;
127 char *__daemon_pid_file;
128 bool __daemonize_kill;
129 bool __daemonize_status;
134 bool __init_plugin_cache;
136 bool __default_signal_handlers;
Fawkes library namespace.
ModuleFlags
Flags for the loading process.
Initialization options class.