SM0 She11
Path:
/
/
usr
/
include
/
net-snmp
/
agent
Full Path (server): /usr/include/net-snmp/agent
Create Fil3
Upl04d Fil3
📄 agent_callbacks.h
[E]
[D]
[R]
📄 agent_handler.h
[E]
[D]
[R]
📄 agent_index.h
[E]
[D]
[R]
📄 agent_module_config.h
[E]
[D]
[R]
📄 agent_read_config.h
[E]
[D]
[R]
📄 agent_registry.h
[E]
[D]
[R]
📄 agent_sysORTable.h
[E]
[D]
[R]
📄 agent_trap.h
[E]
[D]
[R]
📄 all_helpers.h
[E]
[D]
[R]
📄 auto_nlist.h
[E]
[D]
[R]
📄 baby_steps.h
[E]
[D]
[R]
📄 bulk_to_next.h
[E]
[D]
[R]
📄 cache_handler.h
[E]
[D]
[R]
📄 debug_handler.h
[E]
[D]
[R]
📄 ds_agent.h
[E]
[D]
[R]
📄 instance.h
[E]
[D]
[R]
📄 mfd.h
[E]
[D]
[R]
📄 mib_module_config.h
[E]
[D]
[R]
📄 mib_module_includes.h
[E]
[D]
[R]
📄 mib_modules.h
[E]
[D]
[R]
📄 mode_end_call.h
[E]
[D]
[R]
📄 multiplexer.h
[E]
[D]
[R]
📄 net-snmp-agent-includes.h
[E]
[D]
[R]
📄 null.h
[E]
[D]
[R]
📄 old_api.h
[E]
[D]
[R]
📄 read_only.h
[E]
[D]
[R]
📄 row_merge.h
[E]
[D]
[R]
📄 scalar.h
[E]
[D]
[R]
📄 scalar_group.h
[E]
[D]
[R]
📄 serialize.h
[E]
[D]
[R]
📄 set_helper.h
[E]
[D]
[R]
📄 snmp_agent.h
[E]
[D]
[R]
📄 snmp_get_statistic.h
[E]
[D]
[R]
📄 snmp_vars.h
[E]
[D]
[R]
📄 stash_cache.h
[E]
[D]
[R]
📄 stash_to_next.h
[E]
[D]
[R]
📄 struct.h
[E]
[D]
[R]
📄 sysORTable.h
[E]
[D]
[R]
📄 table.h
[E]
[D]
[R]
📄 table_array.h
[E]
[D]
[R]
📄 table_container.h
[E]
[D]
[R]
📄 table_data.h
[E]
[D]
[R]
📄 table_dataset.h
[E]
[D]
[R]
📄 table_iterator.h
[E]
[D]
[R]
📄 table_tdata.h
[E]
[D]
[R]
📁 util_funcs
Open
[D]
[R]
📄 util_funcs.h
[E]
[D]
[R]
📄 var_struct.h
[E]
[D]
[R]
📄 watcher.h
[E]
[D]
[R]
Editing: instance.h
/* * instance.h */ #ifndef NETSNMP_INSTANCE_H #define NETSNMP_INSTANCE_H #ifdef __cplusplus extern "C" { #endif /* * The instance helper is designed to simplify the task of adding simple * * instances to the mib tree. */ /* * GETNEXTs are auto-converted to a GET. * * non-valid GETs are dropped. * * The client can assume that if you're called for a GET, it shouldn't * * have to check the oid at all. Just answer. */ int netsnmp_register_instance(netsnmp_handler_registration * reginfo); int netsnmp_register_read_only_instance(netsnmp_handler_registration *reginfo); #define INSTANCE_HANDLER_NAME "instance" netsnmp_mib_handler *netsnmp_get_instance_handler(void); int netsnmp_register_read_only_ulong_instance(const char * name, const oid * reg_oid, size_t reg_oid_len, u_long * it, Netsnmp_Node_Handler * subhandler); int netsnmp_register_ulong_instance(const char * name, const oid * reg_oid, size_t reg_oid_len, u_long * it, Netsnmp_Node_Handler * subhandler); int netsnmp_register_read_only_counter32_instance(const char *name, const oid * reg_oid, size_t reg_oid_len, u_long * it, Netsnmp_Node_Handler *subhandler); int netsnmp_register_read_only_long_instance(const char *name, const oid * reg_oid, size_t reg_oid_len, long *it, Netsnmp_Node_Handler * subhandler); int netsnmp_register_long_instance(const char *name, const oid * reg_oid, size_t reg_oid_len, long *it, Netsnmp_Node_Handler * subhandler); int netsnmp_register_read_only_int_instance(const char *name, const oid * reg_oid, size_t reg_oid_len, int *it, Netsnmp_Node_Handler * subhandler); int netsnmp_register_int_instance(const char *name, const oid * reg_oid, size_t reg_oid_len, int *it, Netsnmp_Node_Handler * subhandler); /* identical functions that register a in a particular context */ int netsnmp_register_read_only_ulong_instance_context(const char *name, const oid * reg_oid, size_t reg_oid_len, u_long * it, Netsnmp_Node_Handler * subhandler, const char *contextName); int netsnmp_register_ulong_instance_context(const char *name, const oid * reg_oid, size_t reg_oid_len, u_long * it, Netsnmp_Node_Handler * subhandler, const char *contextName); int netsnmp_register_read_only_counter32_instance_context(const char *name, const oid * reg_oid, size_t reg_oid_len, u_long * it, Netsnmp_Node_Handler * subhandler, const char *contextName); int netsnmp_register_read_only_long_instance_context(const char *name, const oid * reg_oid, size_t reg_oid_len, long *it, Netsnmp_Node_Handler * subhandler, const char *contextName); int netsnmp_register_long_instance_context(const char *name, const oid * reg_oid, size_t reg_oid_len, long *it, Netsnmp_Node_Handler * subhandler, const char *contextName); int netsnmp_register_read_only_int_instance_context(const char *name, const oid * reg_oid, size_t reg_oid_len, int *it, Netsnmp_Node_Handler * subhandler, const char *contextName); int netsnmp_register_int_instance_context(const char *name, const oid * reg_oid, size_t reg_oid_len, int *it, Netsnmp_Node_Handler * subhandler, const char *contextName); int netsnmp_register_num_file_instance(const char *name, const oid * reg_oid, size_t reg_oid_len, const char *file_name, int asn_type, int mode, Netsnmp_Node_Handler * subhandler, const char *contextName); Netsnmp_Node_Handler netsnmp_instance_helper_handler; Netsnmp_Node_Handler netsnmp_instance_num_file_handler; #ifdef __cplusplus } #endif #endif /** NETSNMP_INSTANCE_H */
Save