]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/daemon.h
tableprinter: code cleanup
[libucw.git] / ucw / daemon.h
index 51fe0cbdf6485438397818771b31d18dfc00c09a..25a34f8033f3b43690b036892da17a82a4415a30 100644 (file)
 #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)