36
37
.RI "\fIretrieve the container used by the table_container helper \fP"
38
.RI "void * \fBnetsnmp_container_table_row_extract\fP (\fBnetsnmp_request_info\fP *request)"
40
.RI "\fIfind the context data used by the table_container helper \fP"
42
.RI "void * \fBnetsnmp_container_table_extract_context\fP (\fBnetsnmp_request_info\fP *request)"
44
.RI "\fIfind the context data used by the table_container helper \fP"
46
39
.RI "void \fBnetsnmp_container_table_row_insert\fP (\fBnetsnmp_request_info\fP *request, \fBnetsnmp_index\fP *row)"
48
41
.RI "\fIinserts a newly created table_container entry into a request list \fP"
66
59
TABLE_CONTAINER_KEY_NETSNMP_INDEX The container should do comparisons based on a key that may be cast to a netsnmp index (netsnmp_index *). This index contains only the index portion of the OID, not the entire OID.
68
TABLE_CONTAINER_KEY_VARBIND_INDEX The container should do comparisons based on a key that may be cast to a netsnmp variable list (netsnmp_variable_list *). This variable list will contain one varbind for each index component.
61
TABLE_CONTAINER_KEY_VARBIND_INDEX The container should do comparisons based on a key that may be cast to a netsnmp \fBvariable\fP list (netsnmp_variable_list *). This \fBvariable\fP list will contain one varbind for each index component.
70
63
TABLE_CONTAINER_KEY_VARBIND_RAW (NOTE: unimplemented) While not yet implemented, future plans include passing the request varbind with the full OID to a container.
95
88
retrieve the container used by the table_container helper
97
90
Definition at line 320 of file table_container.c.
99
References netsnmp_request_get_list_data().
100
.SS "void* netsnmp_container_table_extract_context (\fBnetsnmp_request_info\fP * request)"
102
find the context data used by the table_container helper
104
Definition at line 339 of file table_container.c.
106
References netsnmp_request_get_list_data().
107
91
.SS "\fBnetsnmp_mib_handler\fP* netsnmp_container_table_handler_get (\fBnetsnmp_table_registration_info\fP * tabreg, \fBnetsnmp_container\fP * container, char key_type)"
109
93
returns a netsnmp_mib_handler object for the table_container helper
111
95
Definition at line 254 of file table_container.c.
113
References netsnmp_container_s::compare, netsnmp_mib_handler_s::flags, container_table_data_s::key_type, MIB_HANDLER_AUTO_NEXT, netsnmp_mib_handler_s::myvoid, netsnmp_container_s::ncompare, netsnmp_create_handler(), NULL, snmp_log(), SNMP_MALLOC_TYPEDEF, container_table_data_s::table, and container_table_data_s::tblreg_info.
115
Referenced by netsnmp_container_table_register().
116
.SS "void* netsnmp_container_table_row_extract (\fBnetsnmp_request_info\fP * request)"
118
find the context data used by the table_container helper
120
Definition at line 329 of file table_container.c.
122
References netsnmp_request_get_list_data().
124
Referenced by _netsnmp_tdata_helper_handler(), and netsnmp_tdata_extract_row().
125
96
.SS "void netsnmp_container_table_row_insert (\fBnetsnmp_request_info\fP * request, \fBnetsnmp_index\fP * row)"
127
98
inserts a newly created table_container entry into a request list
129
100
Definition at line 351 of file table_container.c.
131
References build_oid_noalloc(), netsnmp_table_request_info_s::indexes, netsnmp_create_data_list(), netsnmp_extract_table_info(), netsnmp_request_add_list_data(), netsnmp_request_info_s::next, NULL, netsnmp_request_info_s::prev, netsnmp_request_info_s::processed, and snmp_oid_compare().
133
Referenced by netsnmp_insert_tdata_row().
134
101
.SS "\fBnetsnmp_index\fP* netsnmp_table_index_find_next_row (\fBnetsnmp_container\fP * c, \fBnetsnmp_table_request_info\fP * tblreq)"
136
deprecated, backwards compatability only
138
expected impact to remove: none
103
deprecated, backwards compatability only expected impact to remove: none
140
105
used between helpers, shouldn't have been used by end users