X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdaemon.h;h=959341d813a6f24adbb731f695f955cebe3535e8;hb=cfc50ae514f805dcd9c14589f21158185424daf6;hp=a5f99d58f81da1698e261a911a676cbe5b437ce0;hpb=fd9164cd5aa087e1acc671aad36d66b4ba267c34;p=sliver-openvswitch.git diff --git a/lib/daemon.h b/lib/daemon.h index a5f99d58f..959341d81 100644 --- a/lib/daemon.h +++ b/lib/daemon.h @@ -27,7 +27,7 @@ * POSIX platforms and some are applicable only on Windows. As such, the * function definitions unique to each platform are separated out with * ifdef macros. More descriptive comments on individual functions are provided - * in daemon.c (for Linux) and daemon-windows.c (for Windows). + * in daemon-unix.c (for POSIX platforms) and daemon-windows.c (for Windows). * The DAEMON_OPTION_ENUMS, DAEMON_LONG_OPTIONS and DAEMON_OPTION_HANDLERS * macros are useful for parsing command-line options in individual utilities. @@ -129,5 +129,6 @@ void service_start(int *argcp, char **argvp[]); void service_stop(void); bool should_service_stop(void); void set_pidfile(const char *name); +void close_standard_fds(void); #endif /* daemon.h */