File: InterDaemon.h

package info (click to toggle)
postman 2.1-6
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,248 kB
  • ctags: 3,249
  • sloc: cpp: 33,376; ansic: 2,014; sh: 768; makefile: 300
file content (71 lines) | stat: -rwxr-xr-x 1,623 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

/*
InterDaemon.h
*/

#ifndef __INTERDAEMON_H
#define __INTERDAEMON_H

#include <stdio.h>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
#include <string.h>
#include <sys/wait.h>
#include <ctype.h>
#include <syslog.h>
#include <sys/stat.h>
#include <fcntl.h>

#include "Config.h"
#include "Utils.h"
#include "XSocket.h"
#include "Import.h"
#include "HTMLBasic.h"
#include "Language.h"
#include "CCLIENT.h"
#include "SendMSG.h"
#include "UserOptions.h"
#include "Configuration.h"
#include "Addressbook.h"
#include "rutinas_db.h"
#include "PsTitle.h"
#include "ClientNNTP.h"
#include "Authentication.h"

//Services
#include "Service_Main.h"
#include "Service_Cclient.h"
#include "Service_PopPass.h"
#include "Service_ForwardMail.h"
#include "Service_Databases.h"
#include "Service_Finger.h"
#include "Service_FileBrowser.h"
#include "Service_SecVirtual.h"
#include "Service_Dotlearn.h"
#include "Service_UserAccounts.h"
#include "Service_Config.h"
#include "Service_Sieve.h"
#include "Service_Calendar.h"

int ChildLoop (int way);
void procsignals (int signal_type);
void *alarm_signal (void);
void initServer_beforeFork (int argc, char **argv, char **envp, int *cs);
void initServer_afterFork (int argc, char **argv, char **envp, int cs);
void SetHandlers (void);
void CheckServerCount (char *astlang);
void CheckParams (int cmd, char *connid, char *pw);
void CheckAllowServeralConns (void);
void ClearConn (void);
void AlarmInstall (void);
void doLocking (void);
void SwitchOnAlarm (int alarmtime);
void ExitServer (void);
void ErrorInLogin (void);
void setUserDirs (void);

#endif