22 typedef int (*ndb_daemon_run_t)(int,
char**);
23 typedef void (*ndb_daemon_stop_t)(void);
34 int ndb_daemon_init(
int argc,
char** argv,
35 ndb_daemon_run_t
run, ndb_daemon_stop_t stop,
36 const char*
name,
const char* display_name);
47 int ndb_daemonize(
const char* pidfile_name,
const char *logfile_name);
55 void ndb_daemon_exit(
int status);
63 extern char ndb_daemon_error[];
68 void ndb_service_print_options(
const char*
name);
75 void ndb_service_wait_for_debugger(
int timeout_sec);