/[projects]/smsdaemon/daemon.h
ViewVC logotype

Annotation of /smsdaemon/daemon.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 196 - (hide annotations) (download)
Thu Dec 18 06:53:29 2008 UTC (15 years, 5 months ago) by torben
File MIME type: text/plain
File size: 327 byte(s)
Make pretty

astyle -t -b -N

1 torben 26 #ifndef __DAEMON_H__
2     #define __DAEMON_H__
3    
4     /* defines */
5     #define daemon_shutdown(x) exit(x)
6    
7    
8     /* constants */
9    
10    
11     const int FORK_ERROR = -1;
12     const int CANT_OPEN_LOCK = -2;
13     const int ALREADY_LOCKED = -3;
14    
15    
16 torben 196
17 torben 26 void signal_handler(int sig);
18    
19     void daemonCleanup();
20    
21     void daemonize();
22    
23 torben 146 void lookup_uid_values();
24    
25 torben 26 #endif // __DAEMON_H__

  ViewVC Help
Powered by ViewVC 1.1.20