summaryrefslogtreecommitdiff
path: root/agent/snmpd.h
blob: 89bcd31a86881349ed3ebf00672feda5be0e4e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * snmpd.h
 */

#ifdef __cplusplus
extern "C" {
#endif

#define MASTER_AGENT 0
#define SUB_AGENT    1
extern int      agent_role;

extern int      snmp_dump_packet;
extern int      verbose;
extern int      (*sd_handlers[]) (int);
extern int      smux_listen_sd;

extern int      snmp_read_packet(int);

/*
 * config file parsing routines 
 */
void            agentBoots_conf(char *, char *);

#ifdef __cplusplus
}
#endif