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
29
struct
rcpt_addr_T
30
{
31
char
*
rcpt
;
32
char
*
email
;
33
char
*
host
;
34
char
*
user
;
35
36
bool
quarantine
;
37
bool
deleted
;
38
int
access
;
39
rcpt_addr_T
*
next
;
40
};
41
42
#define rcpt_count(r) count_rcpt(r)
43
44
rcpt_addr_T
*
rcpt_list_free
(
rcpt_addr_T
*);
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 */
rcpt_addr_T::host
char * host
Definition:
ze-rcpt-list.h:33
rcpt_addr_T::rcpt
char * rcpt
Definition:
ze-rcpt-list.h:31
rcpt_addr_T::user
char * user
Definition:
ze-rcpt-list.h:34
rcpt_addr_T::deleted
bool deleted
Definition:
ze-rcpt-list.h:37
rcpt_addr_T::quarantine
bool quarantine
Definition:
ze-rcpt-list.h:36
rcpt_addr_T::email
char * email
Definition:
ze-rcpt-list.h:32
rcpt_addr_T
Definition:
ze-rcpt-list.h:29
rcpt_addr_T::next
rcpt_addr_T * next
Definition:
ze-rcpt-list.h:39
rcpt_addr_T::access
int access
Definition:
ze-rcpt-list.h:38
rcpt_list_add
rcpt_addr_T * rcpt_list_add(rcpt_addr_T **, char *, int)
Definition:
ze-rcpt-list.c:62
rcpt_list_free
rcpt_addr_T * rcpt_list_free(rcpt_addr_T *)
Definition:
ze-rcpt-list.c:36
rcpt_list_del
int rcpt_list_del(rcpt_addr_T **, char *rcpt)
count_rcpt
int count_rcpt(rcpt_addr_T *)
Definition:
ze-filter.c:437
include
ze-rcpt-list.h
Generated by
1.8.13