added files
[bcm963xx.git] / userapps / opensource / net-snmp / agent / mibgroup / target / target.h
1 #ifndef SNMP_TARGET_H
2 #define SNMP_TARGET_H
3
4 /*
5  * optional filtering function.  Return either TARGET_SKIP or TARGET_KEEP 
6  */
7 typedef int     (TargetFilterFunction) (struct targetAddrTable_struct *
8                                         targaddrs,
9                                         struct targetParamTable_struct *
10                                         param, void *);
11 #define TARGET_KEEP 0
12 #define TARGET_SKIP 1
13
14
15 /*
16  * utility functions 
17  */
18
19 netsnmp_session *get_target_sessions(char *taglist, TargetFilterFunction *,
20                                      void *filterArg);
21
22 config_require(target/snmpTargetAddrEntry target/snmpTargetParamsEntry)
23
24 #endif                          /* SNMP_TARGET_H */