1 /*
2   chronyd/chronyc - Programs for keeping computer clocks accurate.
3 
4  **********************************************************************
5  * Copyright (C) Richard P. Curnow  1997-2002
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of version 2 of the GNU General Public License as
9  * published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19  *
20  **********************************************************************
21 
22   =======================================================================
23 
24   Header file for the control and monitoring module in the software
25   */
26 
27 #ifndef GOT_CMDMON_H
28 #define GOT_CMDMON_H
29 
30 #include "addressing.h"
31 
32 extern void CAM_Initialise(void);
33 
34 extern void CAM_Finalise(void);
35 
36 extern void CAM_OpenUnixSocket(void);
37 extern int CAM_AddAccessRestriction(IPAddr *ip_addr, int subnet_bits, int allow, int all);
38 extern int CAM_CheckAccessRestriction(IPAddr *ip_addr);
39 
40 #endif /* GOT_CMDMON_H */
41