| 123456789101112131415161718192021222324252627282930313233 |
- #ifndef __SNMP_NMS_Hx__
- #define __SNMP_NMS_Hx__
- enum {
- NMS_GET=0,
- NMS_GETNEXT,
- NMS_GETBULK,
-
- NMS_SET,
- };
- typedef struct {
- char *buf;
- int len;
- }snmp_data_t;
- typedef struct {
- char *community;
- char *ip;
- char *oid;
- }snmp_req_t;
- int snmp_nms_init(void);
- char* snmp_nms_get(snmp_req_t *req);
- char* snmp_nms_getnext(snmp_req_t *req);
- char* snmp_nms_getbulk(snmp_req_t *req);
- #endif
|