X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdaemon.h;h=8ded63f1a03ef946f6858f85f5b2d251c7270562;hb=2f3ca7ea710ccfb1be4988e12ea265d37f41e971;hp=d0c324cfc3906ffb9a8ef5df6981a7be3043806e;hpb=e7bd7d78b1e1dbc2162f991374c7889c7d7bf60c;p=openvswitch diff --git a/lib/daemon.h b/lib/daemon.h index d0c324cf..8ded63f1 100644 --- a/lib/daemon.h +++ b/lib/daemon.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Nicira Networks. + * Copyright (c) 2008, 2009 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,8 +55,12 @@ char *make_pidfile_name(const char *name); void set_pidfile(const char *name); const char *get_pidfile(void); void set_no_chdir(void); +bool is_chdir_enabled(void); void set_detach(void); +bool get_detach(void); void daemonize(void); +void daemonize_start(void); +void daemonize_complete(void); void die_if_already_running(void); void ignore_existing_pidfile(void); void daemon_usage(void);