proxy.h
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:1k
- #ifndef UCD_SNMP_PROXY_H
- #define UCD_SNMP_PROXY_H
- struct simple_proxy {
- struct variable2 *variables;
- oid name[MAX_OID_LEN];
- size_t name_len;
- oid base[MAX_OID_LEN];
- size_t base_len;
- char *context;
- netsnmp_session *sess;
- struct simple_proxy *next;
- };
- int proxy_got_response(int, netsnmp_session *, int,
- netsnmp_pdu *, void *);
- void proxy_parse_config(const char *, char *);
- void init_proxy(void);
- void shutdown_proxy(void);
- Netsnmp_Node_Handler proxy_handler;
- #endif /* UCD_SNMP_PROXY_H */