Server IP : 23.254.227.96 / Your IP : 216.73.216.46 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 : /usr/include/net-snmp/agent/ |
Upload File : |
#ifndef UCD_SNMP_STRUCT #define UCD_SNMP_STRUCT #define STRMAX 1024 #define SHPROC 1 #define EXECPROC 2 #define PASSTHRU 3 #define PASSTHRU_PERSIST 4 #define MIBMAX 30 struct extensible { char name[STRMAX]; char *command; char fixcmd[STRMAX]; int type; int result; char output[STRMAX]; struct extensible *next; oid miboid[MIBMAX]; size_t miblen; int mibpriority; netsnmp_pid_t pid; #if defined(WIN32) HANDLE tid; /* WIN32 thread */ #endif #ifdef USING_SINGLE_COMMON_PASSPERSIST_INSTANCE struct extensible *passpersist_inst; #endif /* USING_SINGLE_COMMON_PASSPERSIST_INSTANCE */ }; #if HAVE_PCRE_H /* Pointer to pcre struct. Abstract pcre native pointer so all *.c files */ /* do not have to include pcre.h */ struct real_pcre; typedef struct real_pcre *netsnmp_regex_ptr; #endif struct myproc { char name[STRMAX]; #if HAVE_PCRE_H netsnmp_regex_ptr regexp; #endif char fixcmd[STRMAX]; int min; int max; struct myproc *next; }; /* * struct mibinfo * { * int numid; * unsigned long mibid[10]; * char *name; * void (*handle) (); * }; */ #endif