ze-filter  (ze-filter-0.8.0-develop-180218)
ze-resource.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 
25 #ifndef __ZE_RESOURCE_H
26 
32 #define FD_LEVEL_OK 0
33 #define FD_LEVEL_SHORT 1
34 #define FD_LEVEL_HI 2
35 
36 int count_file_descriptors(void);
37 
38 int check_file_descriptors(void);
39 
41 
42 bool enable_coredump(bool);
43 
44 bool check_rusage();
45 
48 #define __ZE_RESOURCE_H
49 #endif
int count_file_descriptors(void)
Definition: ze-resource.c:79
bool enable_coredump(bool)
Definition: ze-resource.c:334
bool check_rusage()
Definition: ze-resource.c:369
int check_file_descriptors(void)
Definition: ze-resource.c:189
int setup_file_descriptors()
Definition: ze-resource.c:240