Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/usr/include/net-snmp/library/ |
Upload File : |
#ifndef NET_SNMP_LIBRARY_TYPES_H #define NET_SNMP_LIBRARY_TYPES_H #ifndef NET_SNMP_CONFIG_H #error "Please include <net-snmp/net-snmp-config.h> before this file" #endif #include <net-snmp/types.h> typedef struct netsnmp_index_s { size_t len; oid *oids; } netsnmp_index; typedef struct netsnmp_void_array_s { size_t size; void **array; } netsnmp_void_array; /* * references to various types */ typedef struct netsnmp_ref_void { void *val; } netsnmp_ref_void; typedef union { u_long ul; u_int ui; u_short us; u_char uc; long sl; int si; short ss; char sc; char *cp; void *vp; } netsnmp_cvalue; typedef struct netsnmp_ref_size_t_s { size_t val; } *netsnmp_ref_size_t; /* * Structure for holding a set of file descriptors, similar to fd_set. * * This structure however can hold so-called large file descriptors * (>= FD_SETSIZE or 1024) on Unix systems or more than FD_SETSIZE (64) * sockets on Windows systems. * * It is safe to allocate this structure on the stack. * * This structure must be initialized by calling netsnmp_large_fd_set_init() * and must be cleaned up via netsnmp_large_fd_set_cleanup(). If this last * function is not called this may result in a memory leak. * * The members of this structure are: * lfs_setsize: maximum set size. * lsf_setptr: points to lfs_set if lfs_setsize <= FD_SETSIZE, and otherwise * to dynamically allocated memory. * lfs_set: file descriptor / socket set data if lfs_setsize <= FD_SETSIZE. */ typedef struct netsnmp_large_fd_set_s { unsigned lfs_setsize; fd_set *lfs_setptr; fd_set lfs_set; } netsnmp_large_fd_set; #endif /* NET_SNMP_LIBRARY_TYPES_H */