X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fdaemon.h;h=25a34f8033f3b43690b036892da17a82a4415a30;hb=ba63c40936d99652f5ffe7f57a34dd79c7c8a74d;hp=51fe0cbdf6485438397818771b31d18dfc00c09a;hpb=ac771ed97f633c9eeed46fd5054aaa57ec61fbe8;p=libucw.git diff --git a/ucw/daemon.h b/ucw/daemon.h index 51fe0cbd..25a34f80 100644 --- a/ucw/daemon.h +++ b/ucw/daemon.h @@ -16,12 +16,14 @@ #define daemon_control ucw_daemon_control #define daemon_exit ucw_daemon_exit #define daemon_init ucw_daemon_init +#define daemon_resolve_ugid ucw_daemon_resolve_ugid #define daemon_run ucw_daemon_run +#define daemon_switch_ugid ucw_daemon_switch_ugid #endif /** Parameters passed to the daemon helper. **/ struct daemon_params { - uns flags; // DAEMON_FLAG_xxx + uint flags; // DAEMON_FLAG_xxx const char *pid_file; // A path to PID file (optional) const char *run_as_user; // User name or "#uid" (optional) const char *run_as_group; // Group name or "#gid" (optional)