ze-filter  (ze-filter-0.8.0-develop-180218)
ze-main.h
Go to the documentation of this file.
1 /*
2  *
3  * ze-filter - Mail Server Filter for sendmail
4  *
5  * Copyright (c) 2001-2018 - Jose-Marcio Martins da Cruz
6  *
7  * Auteur : Jose Marcio Martins da Cruz
8  * jose.marcio.mc@gmail.org
9  *
10  * Historique :
11  * Creation : janvier 2002
12  *
13  * This program is free software, but with restricted license :
14  *
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19  *
20  * More details about ze-filter license can be found at ze-filter
21  * web site : http://foss.jose-marcio.org
22  */
23 
24 #ifndef __ZE_MAIN_H
25 
26 #define __ZE_MAIN_H
27 
28 #define DT_SIGALRM 2
29 
30 #define MSG_OK 0
31 #define MSG_TERM 1
32 #define MSG_CONF 2
33 #define MSG_RESET 4
34 #define MSG_DUMP 5
35 
36 extern bool core_enabled;
37 
38 extern char sm_sock[];
39 
40 extern int pipe_filter[2];
41 extern int fd_pipe;
42 
43 int send_msg_pipe (int[], int);
44 int recv_msg_pipe (int[], int *);
45 
46 
47 #endif
int pipe_filter[2]
Definition: ze-main.c:359
char sm_sock[]
int recv_msg_pipe(int[], int *)
bool core_enabled
Definition: ze-main.c:31
int send_msg_pipe(int[], int)
int fd_pipe
Definition: ze-main.c:360