ze-filter  (ze-filter-0.8.0-develop-180218)
ze-server.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_SERVER_H
25 
26 #define SERVER_SPEC_LEN 512
27 
28 typedef struct
29 {
30  int family;
31  int protocol;
32  int socktype;
34  int sd;
35  char spec[SERVER_SPEC_LEN];
36 } server_T;
37 
38 
39 int server_listen(char *spec, server_T * server);
40 
41 
42 #define __ZE_SERVER_H
43 #endif
int socklen_t
Definition: ze-sys.h:534
socklen_t socklen
Definition: ze-server.h:33
#define SERVER_SPEC_LEN
Definition: ze-server.h:26
int sd
Definition: ze-server.h:34
int family
Definition: ze-server.h:30
int server_listen(char *spec, server_T *server)
Definition: ze-server.c:334
int socktype
Definition: ze-server.h:32
int protocol
Definition: ze-server.h:31