poser
A C framework for POsix SERvices
Loading...
Searching...
No Matches
runopts.h
Go to the documentation of this file.
1#ifndef POSER_CORE_RUNOPTS_H
2#define POSER_CORE_RUNOPTS_H
3
8#include <poser/decl.h>
9
22DECLEXPORT void
23PSC_RunOpts_init(const char *pidfile);
24
34DECLEXPORT void
35PSC_RunOpts_runas(long uid, long gid);
36
49DECLEXPORT void PSC_RunOpts_enableDefaultLogging(const char *logident);
50
57DECLEXPORT void
59
66DECLEXPORT void
68
69#endif
void PSC_RunOpts_foreground(void)
Run in foreground.
void PSC_RunOpts_enableDefaultLogging(const char *logident)
Handle logging using default options.
void PSC_RunOpts_runas(long uid, long gid)
Run as a different user.
void PSC_RunOpts_nowait(void)
Don't wait for successful service startup.
void PSC_RunOpts_init(const char *pidfile)
Initialize to default values.