ze-filter  (ze-filter-0.8.0-develop-180218)
ze-rcpt-list.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 : Tue Feb 21 22:09:21 CET 2006
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 
25 #ifndef __ZE_RCPT_LIST_H
26 
27 typedef struct rcpt_addr_T rcpt_addr_T;
28 
30 {
31  char *rcpt;
32  char *email;
33  char *host;
34  char *user;
35 
36  bool quarantine;
37  bool deleted;
38  int access;
40 };
41 
42 #define rcpt_count(r) count_rcpt(r)
43 
45 
46 rcpt_addr_T *rcpt_list_add(rcpt_addr_T **, char *, int);
47 
48 int rcpt_list_del(rcpt_addr_T **, char *rcpt);
49 
50 int count_rcpt(rcpt_addr_T *);
51 
52 
53 # define __ZE_RCPT_LIST_H 1
54 #endif /* __ZE_RCPT_LIST_H */
char * host
Definition: ze-rcpt-list.h:33
char * rcpt
Definition: ze-rcpt-list.h:31
char * user
Definition: ze-rcpt-list.h:34
bool quarantine
Definition: ze-rcpt-list.h:36
char * email
Definition: ze-rcpt-list.h:32
rcpt_addr_T * next
Definition: ze-rcpt-list.h:39
rcpt_addr_T * rcpt_list_add(rcpt_addr_T **, char *, int)
Definition: ze-rcpt-list.c:62
rcpt_addr_T * rcpt_list_free(rcpt_addr_T *)
Definition: ze-rcpt-list.c:36
int rcpt_list_del(rcpt_addr_T **, char *rcpt)
int count_rcpt(rcpt_addr_T *)
Definition: ze-filter.c:437