SM0 She11
Path:
/
/
usr
/
include
/
net-snmp
/
library
Full Path (server): /usr/include/net-snmp/library
Create Fil3
Upl04d Fil3
📄 README
[E]
[D]
[R]
📄 asn1.h
[E]
[D]
[R]
📄 callback.h
[E]
[D]
[R]
📄 cert_util.h
[E]
[D]
[R]
📄 check_varbind.h
[E]
[D]
[R]
📄 container.h
[E]
[D]
[R]
📄 container_binary_array.h
[E]
[D]
[R]
📄 container_iterator.h
[E]
[D]
[R]
📄 container_list_ssll.h
[E]
[D]
[R]
📄 container_null.h
[E]
[D]
[R]
📄 data_list.h
[E]
[D]
[R]
📄 default_store.h
[E]
[D]
[R]
📄 dir_utils.h
[E]
[D]
[R]
📄 factory.h
[E]
[D]
[R]
📄 fd_event_manager.h
[E]
[D]
[R]
📄 file_utils.h
[E]
[D]
[R]
📄 getopt.h
[E]
[D]
[R]
📄 int64.h
[E]
[D]
[R]
📄 keytools.h
[E]
[D]
[R]
📄 large_fd_set.h
[E]
[D]
[R]
📄 lcd_time.h
[E]
[D]
[R]
📄 md5.h
[E]
[D]
[R]
📄 mib.h
[E]
[D]
[R]
📄 mt_support.h
[E]
[D]
[R]
📄 oid.h
[E]
[D]
[R]
📄 oid_stash.h
[E]
[D]
[R]
📄 parse.h
[E]
[D]
[R]
📄 read_config.h
[E]
[D]
[R]
📄 scapi.h
[E]
[D]
[R]
📄 snmp-tc.h
[E]
[D]
[R]
📄 snmp.h
[E]
[D]
[R]
📄 snmpAliasDomain.h
[E]
[D]
[R]
📄 snmpCallbackDomain.h
[E]
[D]
[R]
📄 snmpDTLSUDPDomain.h
[E]
[D]
[R]
📄 snmpIPv4BaseDomain.h
[E]
[D]
[R]
📄 snmpIPv6BaseDomain.h
[E]
[D]
[R]
📄 snmpSocketBaseDomain.h
[E]
[D]
[R]
📄 snmpTCPBaseDomain.h
[E]
[D]
[R]
📄 snmpTCPDomain.h
[E]
[D]
[R]
📄 snmpTCPIPv6Domain.h
[E]
[D]
[R]
📄 snmpTLSBaseDomain.h
[E]
[D]
[R]
📄 snmpTLSTCPDomain.h
[E]
[D]
[R]
📄 snmpUDPBaseDomain.h
[E]
[D]
[R]
📄 snmpUDPDomain.h
[E]
[D]
[R]
📄 snmpUDPIPv4BaseDomain.h
[E]
[D]
[R]
📄 snmpUDPIPv6Domain.h
[E]
[D]
[R]
📄 snmpUnixDomain.h
[E]
[D]
[R]
📄 snmp_alarm.h
[E]
[D]
[R]
📄 snmp_api.h
[E]
[D]
[R]
📄 snmp_assert.h
[E]
[D]
[R]
📄 snmp_client.h
[E]
[D]
[R]
📄 snmp_debug.h
[E]
[D]
[R]
📄 snmp_enum.h
[E]
[D]
[R]
📄 snmp_impl.h
[E]
[D]
[R]
📄 snmp_logging.h
[E]
[D]
[R]
📄 snmp_parse_args.h
[E]
[D]
[R]
📄 snmp_secmod.h
[E]
[D]
[R]
📄 snmp_service.h
[E]
[D]
[R]
📄 snmp_transport.h
[E]
[D]
[R]
📄 snmptsm.h
[E]
[D]
[R]
📄 snmpusm.h
[E]
[D]
[R]
📄 snmpv3-security-includes.h
[E]
[D]
[R]
📄 snmpv3.h
[E]
[D]
[R]
📄 system.h
[E]
[D]
[R]
📄 text_utils.h
[E]
[D]
[R]
📄 tools.h
[E]
[D]
[R]
📄 transform_oids.h
[E]
[D]
[R]
📄 types.h
[E]
[D]
[R]
📄 ucd_compat.h
[E]
[D]
[R]
📄 vacm.h
[E]
[D]
[R]
📄 winpipe.h
[E]
[D]
[R]
📄 winservice.h
[E]
[D]
[R]
Editing: snmp_parse_args.h
#ifndef SNMP_PARSE_ARGS_H #define SNMP_PARSE_ARGS_H /** * @file snmp_parse_args.h * * Support for initializing variables of type netsnmp_session from command * line arguments */ #ifdef __cplusplus extern "C" { #endif /** Don't enable any logging even if there is no -L argument */ #define NETSNMP_PARSE_ARGS_NOLOGGING 0x0001 /** Don't zero out sensitive arguments as they are not on the command line * anyway, typically used when the function is called from an internal * config-line handler */ #define NETSNMP_PARSE_ARGS_NOZERO 0x0002 /** * Parsing of command line arguments succeeded and application is expected * to continue with normal operation. */ #define NETSNMP_PARSE_ARGS_SUCCESS 0 /** * Parsing of command line arguments succeeded, but the application is expected * to exit with zero exit code. For example, '-V' parameter has been found. */ #define NETSNMP_PARSE_ARGS_SUCCESS_EXIT -2 /** * Parsing of command line arguments failed and application is expected to show * usage (i.e. list of parameters) and exit with nozero exit code. */ #define NETSNMP_PARSE_ARGS_ERROR_USAGE -1 /** * Parsing of command line arguments failed and application is expected to exit * with nozero exit code. netsnmp_parse_args() has already printed what went * wrong. */ #define NETSNMP_PARSE_ARGS_ERROR -3 /** * Parse an argument list and initialize \link netsnmp_session * session\endlink * from it. * @param argc Number of elements in argv * @param argv string array of at least argc elements * @param session * @param localOpts Additional option characters to accept * @param proc function pointer used to process any unhandled arguments * @param flags flags directing how to handle the string * * @retval 0 (= #NETSNMP_PARSE_ARGS_SUCCESS) on success * @retval #NETSNMP_PARSE_ARGS_SUCCESS_EXIT when the application is expected * to exit with zero exit code (e.g. '-V' option was found) * @retval #NETSNMP_PARSE_ARGS_ERROR_USAGE when the function failed to parse * the command line and the application is expected to show it's usage * @retval #NETSNMP_PARSE_ARGS_ERROR when the function failed to parse * the command line and it has already printed enough information for the user * and no other output is needed * * The proc function is called with argc, argv and the currently processed * option as arguments */ NETSNMP_IMPORT int netsnmp_parse_args(int argc, char **argv, netsnmp_session *session, const char *localOpts, void (*proc)(int, char *const *, int), int flags); /** * Calls \link netsnmp_parse_args() * netsnmp_parse_args(argc, argv, session, localOpts, proc, 0)\endlink */ NETSNMP_IMPORT int snmp_parse_args(int argc, char **argv, netsnmp_session *session, const char *localOpts, void (*proc)(int, char *const *, int)); NETSNMP_IMPORT void snmp_parse_args_descriptions(FILE *); NETSNMP_IMPORT void snmp_parse_args_usage(FILE *); #ifdef __cplusplus } #endif #endif
Save