#include <net-snmp/net-snmp-config.h>#include <net-snmp/library/container.h>#include <net-snmp/agent/table_array.h>#include "../../config.h"


Go to the source code of this file.
| #define COLUMN_OPENSERSIPREGUSERINDEX 3 |
Definition at line 134 of file openserSIPRegUserLookupTable.h.
Referenced by openserSIPRegUserLookupTable_get_value().
| #define COLUMN_OPENSERSIPREGUSERLOOKUPINDEX 1 |
Definition at line 132 of file openserSIPRegUserLookupTable.h.
| #define COLUMN_OPENSERSIPREGUSERLOOKUPROWSTATUS 4 |
Definition at line 135 of file openserSIPRegUserLookupTable.h.
Referenced by openserSIPRegUserLookupTable_get_value(), openserSIPRegUserLookupTable_set_action(), openserSIPRegUserLookupTable_set_reserve1(), and openserSIPRegUserLookupTable_set_reserve2().
| #define COLUMN_OPENSERSIPREGUSERLOOKUPURI 2 |
Definition at line 133 of file openserSIPRegUserLookupTable.h.
Referenced by openserSIPRegUserLookupTable_get_value(), openserSIPRegUserLookupTable_set_action(), openserSIPRegUserLookupTable_set_reserve1(), and openserSIPRegUserLookupTable_set_reserve2().
| #define openserSIPRegUserLookupTable_COL_MAX 4 |
Definition at line 138 of file openserSIPRegUserLookupTable.h.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| #define openserSIPRegUserLookupTable_COL_MIN 2 |
Definition at line 137 of file openserSIPRegUserLookupTable.h.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| #define openserSIPRegUserLookupTable_TABLE_OID OPENSER_OID,3,1,2,1,5,9 |
Definition at line 128 of file openserSIPRegUserLookupTable.h.
| void init_openserSIPRegUserLookupTable | ( | void | ) |
Definition at line 95 of file openserSIPRegUserLookupTable.c.
References initialize_table_openserSIPRegUserLookupTable().
Referenced by initialize_agentx().
| void initialize_table_openserSIPRegUserLookupTable | ( | void | ) |
create the table structure itself
mallocs failed
Definition at line 687 of file openserSIPRegUserLookupTable.c.
References cb, my_handler, openserSIPRegUserLookupTable_can_activate(), openserSIPRegUserLookupTable_can_deactivate(), openserSIPRegUserLookupTable_can_delete(), openserSIPRegUserLookupTable_COL_MAX, openserSIPRegUserLookupTable_COL_MIN, openserSIPRegUserLookupTable_create_row(), openserSIPRegUserLookupTable_delete_row(), openserSIPRegUserLookupTable_duplicate_row(), openserSIPRegUserLookupTable_get_value(), openserSIPRegUserLookupTable_oid, openserSIPRegUserLookupTable_oid_len, openserSIPRegUserLookupTable_row_copy(), openserSIPRegUserLookupTable_set_action(), openserSIPRegUserLookupTable_set_commit(), openserSIPRegUserLookupTable_set_free(), openserSIPRegUserLookupTable_set_reserve1(), openserSIPRegUserLookupTable_set_reserve2(), and openserSIPRegUserLookupTable_set_undo().
Referenced by init_openserSIPRegUserLookupTable().
| int openserSIPRegUserLookupTable_can_activate | ( | openserSIPRegUserLookupTable_context * | undo_ctx, | |
| openserSIPRegUserLookupTable_context * | row_ctx, | |||
| netsnmp_request_group * | rg | |||
| ) |
Definition at line 218 of file openserSIPRegUserLookupTable.c.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| int openserSIPRegUserLookupTable_can_deactivate | ( | openserSIPRegUserLookupTable_context * | undo_ctx, | |
| openserSIPRegUserLookupTable_context * | row_ctx, | |||
| netsnmp_request_group * | rg | |||
| ) |
Definition at line 236 of file openserSIPRegUserLookupTable.c.
Referenced by initialize_table_openserSIPRegUserLookupTable(), and openserSIPRegUserLookupTable_can_delete().
| int openserSIPRegUserLookupTable_can_delete | ( | openserSIPRegUserLookupTable_context * | undo_ctx, | |
| openserSIPRegUserLookupTable_context * | row_ctx, | |||
| netsnmp_request_group * | rg | |||
| ) |
Definition at line 253 of file openserSIPRegUserLookupTable.c.
References openserSIPRegUserLookupTable_can_deactivate().
Referenced by initialize_table_openserSIPRegUserLookupTable().
| openserSIPRegUserLookupTable_context* openserSIPRegUserLookupTable_create_row | ( | netsnmp_index * | ) |
Definition at line 276 of file openserSIPRegUserLookupTable.c.
References openserSIPRegUserLookupTable_context_s::index, NULL, openserSIPRegUserLookupTable_context_s::openserSIPRegUserIndex, openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupRowStatus, openserSIPRegUserLookupTable_extract_index(), openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupURI, and openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupURI_len.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| netsnmp_index* openserSIPRegUserLookupTable_delete_row | ( | openserSIPRegUserLookupTable_context * | ) |
Definition at line 343 of file openserSIPRegUserLookupTable.c.
References openserSIPRegUserLookupTable_context_s::index, NULL, openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupURI, and pkg_free.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| openserSIPRegUserLookupTable_context* openserSIPRegUserLookupTable_duplicate_row | ( | openserSIPRegUserLookupTable_context * | ) |
Definition at line 316 of file openserSIPRegUserLookupTable.c.
References NULL, and openserSIPRegUserLookupTable_row_copy().
Referenced by initialize_table_openserSIPRegUserLookupTable().
| int openserSIPRegUserLookupTable_extract_index | ( | openserSIPRegUserLookupTable_context * | ctx, | |
| netsnmp_index * | hdr | |||
| ) |
Definition at line 150 of file openserSIPRegUserLookupTable.c.
References global_UserLookupCounter, openserSIPRegUserLookupTable_context_s::index, NULL, and openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupIndex.
Referenced by openserSIPRegUserLookupTable_create_row().
| const openserSIPRegUserLookupTable_context* openserSIPRegUserLookupTable_get_by_idx | ( | netsnmp_index * | ) |
| const openserSIPRegUserLookupTable_context* openserSIPRegUserLookupTable_get_by_idx_rs | ( | netsnmp_index * | , | |
| int | row_status | |||
| ) |
| int openserSIPRegUserLookupTable_get_value | ( | netsnmp_request_info * | , | |
| netsnmp_index * | , | |||
| netsnmp_table_request_info * | ||||
| ) |
SnmpAdminString = ASN_OCTET_STR
UNSIGNED32 = ASN_UNSIGNED
RowStatus = ASN_INTEGER
We shouldn't get here
Definition at line 771 of file openserSIPRegUserLookupTable.c.
References COLUMN_OPENSERSIPREGUSERINDEX, COLUMN_OPENSERSIPREGUSERLOOKUPROWSTATUS, COLUMN_OPENSERSIPREGUSERLOOKUPURI, openserSIPRegUserLookupTable_context_s::openserSIPRegUserIndex, openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupRowStatus, openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupURI, and openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupURI_len.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| void openserSIPRegUserLookupTable_set_action | ( | netsnmp_request_group * | ) |
We shouldn't get here
why wasn't this caught in reserve1?
Definition at line 519 of file openserSIPRegUserLookupTable.c.
References cb, COLUMN_OPENSERSIPREGUSERLOOKUPROWSTATUS, COLUMN_OPENSERSIPREGUSERLOOKUPURI, consumeInterprocessBuffer(), findHashRecord(), HASH_SIZE, hashTable, LM_ERR, NULL, openserSIPRegUserLookupTable_context_s::openserSIPRegUserIndex, openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupRowStatus, openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupURI, openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupURI_len, pkg_malloc, TC_ROWSTATUS_ACTIVE, TC_ROWSTATUS_CREATEANDGO, TC_ROWSTATUS_DESTROY, TC_ROWSTATUS_NOTINSERVICE, TC_ROWSTATUS_NOTREADY, and aorToIndexStruct::userIndex.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| void openserSIPRegUserLookupTable_set_commit | ( | netsnmp_request_group * | ) |
Definition at line 652 of file openserSIPRegUserLookupTable.c.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| void openserSIPRegUserLookupTable_set_free | ( | netsnmp_request_group * | ) |
Definition at line 664 of file openserSIPRegUserLookupTable.c.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| void openserSIPRegUserLookupTable_set_reserve1 | ( | netsnmp_request_group * | ) |
RowStatus = ASN_INTEGER
We shouldn't get here
Definition at line 382 of file openserSIPRegUserLookupTable.c.
References COLUMN_OPENSERSIPREGUSERLOOKUPROWSTATUS, COLUMN_OPENSERSIPREGUSERLOOKUPURI, openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupRowStatus, TC_ROWSTATUS_ACTIVE, TC_ROWSTATUS_CREATEANDGO, TC_ROWSTATUS_DESTROY, and TC_ROWSTATUS_NOTREADY.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| void openserSIPRegUserLookupTable_set_reserve2 | ( | netsnmp_request_group * | ) |
RowStatus = ASN_INTEGER
We shouldn't get here
why wasn't this caught in reserve1?
Definition at line 461 of file openserSIPRegUserLookupTable.c.
References COLUMN_OPENSERSIPREGUSERLOOKUPROWSTATUS, COLUMN_OPENSERSIPREGUSERLOOKUPURI, and openserSIPRegUserLookupTable_context_s::openserSIPRegUserLookupRowStatus.
Referenced by initialize_table_openserSIPRegUserLookupTable().
| void openserSIPRegUserLookupTable_set_undo | ( | netsnmp_request_group * | ) |
Definition at line 675 of file openserSIPRegUserLookupTable.c.
Referenced by initialize_table_openserSIPRegUserLookupTable().
Definition at line 83 of file openserSIPRegUserLookupTable.c.
Referenced by initialize_table_openserSIPRegUserLookupTable().
Definition at line 86 of file openserSIPRegUserLookupTable.c.
Referenced by initialize_table_openserSIPRegUserLookupTable().
1.5.6