added files
[bcm963xx.git] / userapps / opensource / net-snmp / agent / mibgroup / agentx / client.h
1 #ifndef AGENTX_CLIENT_H
2 #define AGENTX_CLIENT_H
3
4 #ifdef __cplusplus
5 extern          "C" {
6 #endif
7     /*
8      *  Utility functions for Agent Extensibility Protocol (RFC 2257)
9      *
10      */
11
12
13     int             agentx_open_session(netsnmp_session *);
14     int             agentx_close_session(netsnmp_session *, int);
15     int             agentx_register(netsnmp_session *, oid *, size_t, int,
16                                     int, oid, int, u_char);
17     int             agentx_unregister(netsnmp_session *, oid *, size_t,
18                                       int, int, oid);
19     netsnmp_variable_list *agentx_register_index(netsnmp_session *,
20                                                  netsnmp_variable_list *,
21                                                  int);
22     int             agentx_unregister_index(netsnmp_session *,
23                                             netsnmp_variable_list *);
24     int             agentx_add_agentcaps(netsnmp_session *, oid *, size_t,
25                                          const char *);
26     int             agentx_remove_agentcaps(netsnmp_session *, oid *,
27                                             size_t);
28     int             agentx_send_ping(netsnmp_session *);
29
30 #define AGENTX_CLOSE_OTHER    1
31 #define AGENTX_CLOSE_PARSE    2
32 #define AGENTX_CLOSE_PROTOCOL 3
33 #define AGENTX_CLOSE_TIMEOUT  4
34 #define AGENTX_CLOSE_SHUTDOWN 5
35 #define AGENTX_CLOSE_MANAGER  6
36
37 #ifdef __cplusplus
38 }
39 #endif
40 #endif                          /* AGENTX_CLIENT_H */