#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_OPENSERSIPSTATUSCODEINS 3 |
Definition at line 167 of file openserSIPStatusCodesTable.h.
Referenced by openserSIPStatusCodesTable_get_value().
| #define COLUMN_OPENSERSIPSTATUSCODEMETHOD 1 |
Definition at line 165 of file openserSIPStatusCodesTable.h.
| #define COLUMN_OPENSERSIPSTATUSCODEOUTS 4 |
Definition at line 168 of file openserSIPStatusCodesTable.h.
Referenced by openserSIPStatusCodesTable_get_value().
| #define COLUMN_OPENSERSIPSTATUSCODEROWSTATUS 5 |
Definition at line 169 of file openserSIPStatusCodesTable.h.
Referenced by openserSIPStatusCodesTable_get_value(), openserSIPStatusCodesTable_set_action(), openserSIPStatusCodesTable_set_reserve1(), and openserSIPStatusCodesTable_set_reserve2().
| #define COLUMN_OPENSERSIPSTATUSCODEVALUE 2 |
Definition at line 166 of file openserSIPStatusCodesTable.h.
| #define openserSIPStatusCodesTable_COL_MAX 5 |
Definition at line 172 of file openserSIPStatusCodesTable.h.
Referenced by initialize_table_openserSIPStatusCodesTable().
| #define openserSIPStatusCodesTable_COL_MIN 3 |
Definition at line 171 of file openserSIPStatusCodesTable.h.
Referenced by initialize_table_openserSIPStatusCodesTable().
| #define openserSIPStatusCodesTable_TABLE_OID OPENSER_OID,3,1,1,1,5,1 |
Definition at line 162 of file openserSIPStatusCodesTable.h.
| void init_openserSIPStatusCodesTable | ( | void | ) |
Definition at line 103 of file openserSIPStatusCodesTable.c.
References initialize_table_openserSIPStatusCodesTable().
Referenced by initialize_agentx().
| void initialize_table_openserSIPStatusCodesTable | ( | void | ) |
create the table structure itself
mallocs failed
index: openserSIPStatusCodeMethod
index: openserSIPStatusCodeValue
Definition at line 664 of file openserSIPStatusCodesTable.c.
References cb, my_handler, openserSIPStatusCodesTable_can_activate(), openserSIPStatusCodesTable_can_deactivate(), openserSIPStatusCodesTable_can_delete(), openserSIPStatusCodesTable_COL_MAX, openserSIPStatusCodesTable_COL_MIN, openserSIPStatusCodesTable_create_row(), openserSIPStatusCodesTable_delete_row(), openserSIPStatusCodesTable_duplicate_row(), openserSIPStatusCodesTable_get_value(), openserSIPStatusCodesTable_oid, openserSIPStatusCodesTable_oid_len, openserSIPStatusCodesTable_row_copy(), openserSIPStatusCodesTable_set_action(), openserSIPStatusCodesTable_set_commit(), openserSIPStatusCodesTable_set_free(), openserSIPStatusCodesTable_set_reserve1(), openserSIPStatusCodesTable_set_reserve2(), and openserSIPStatusCodesTable_set_undo().
Referenced by init_openserSIPStatusCodesTable().
| int openserSIPStatusCodesTable_can_activate | ( | openserSIPStatusCodesTable_context * | undo_ctx, | |
| openserSIPStatusCodesTable_context * | row_ctx, | |||
| netsnmp_request_group * | rg | |||
| ) |
Definition at line 244 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
| int openserSIPStatusCodesTable_can_deactivate | ( | openserSIPStatusCodesTable_context * | undo_ctx, | |
| openserSIPStatusCodesTable_context * | row_ctx, | |||
| netsnmp_request_group * | rg | |||
| ) |
Definition at line 263 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable(), and openserSIPStatusCodesTable_can_delete().
| int openserSIPStatusCodesTable_can_delete | ( | openserSIPStatusCodesTable_context * | undo_ctx, | |
| openserSIPStatusCodesTable_context * | row_ctx, | |||
| netsnmp_request_group * | rg | |||
| ) |
Definition at line 281 of file openserSIPStatusCodesTable.c.
References openserSIPStatusCodesTable_can_deactivate().
Referenced by initialize_table_openserSIPStatusCodesTable().
| openserSIPStatusCodesTable_context* openserSIPStatusCodesTable_create_row | ( | netsnmp_index * | ) |
Definition at line 312 of file openserSIPStatusCodesTable.c.
References get_stat_var_from_num_code, openserSIPStatusCodesTable_context_s::index, NULL, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeIns, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeOuts, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeRowStatus, openserSIPStatusCodesTable_extract_index(), openserSIPStatusCodesTable_context_s::openserSIPStatusCodeValue, openserSIPStatusCodesTable_context_s::startingInStatusCodeValue, openserSIPStatusCodesTable_context_s::startingOutStatusCodeValue, stat_var_::u, and stat_var_::val.
Referenced by initialize_table_openserSIPStatusCodesTable().
| netsnmp_index* openserSIPStatusCodesTable_delete_row | ( | openserSIPStatusCodesTable_context * | ) |
Definition at line 395 of file openserSIPStatusCodesTable.c.
References openserSIPStatusCodesTable_context_s::index, and NULL.
Referenced by initialize_table_openserSIPStatusCodesTable().
| openserSIPStatusCodesTable_context* openserSIPStatusCodesTable_duplicate_row | ( | openserSIPStatusCodesTable_context * | ) |
Definition at line 367 of file openserSIPStatusCodesTable.c.
References NULL, and openserSIPStatusCodesTable_row_copy().
Referenced by initialize_table_openserSIPStatusCodesTable().
| int openserSIPStatusCodesTable_extract_index | ( | openserSIPStatusCodesTable_context * | ctx, | |
| netsnmp_index * | hdr | |||
| ) |
Definition at line 156 of file openserSIPStatusCodesTable.c.
References openserSIPStatusCodesTable_context_s::index, NULL, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeMethod, and openserSIPStatusCodesTable_context_s::openserSIPStatusCodeValue.
Referenced by openserSIPStatusCodesTable_create_row().
| const openserSIPStatusCodesTable_context* openserSIPStatusCodesTable_get_by_idx | ( | netsnmp_index * | ) |
| const openserSIPStatusCodesTable_context* openserSIPStatusCodesTable_get_by_idx_rs | ( | netsnmp_index * | , | |
| int | row_status | |||
| ) |
| int openserSIPStatusCodesTable_get_value | ( | netsnmp_request_info * | , | |
| netsnmp_index * | , | |||
| netsnmp_table_request_info * | ||||
| ) |
RowStatus = ASN_INTEGER
We shouldn't get here
Definition at line 772 of file openserSIPStatusCodesTable.c.
References COLUMN_OPENSERSIPSTATUSCODEINS, COLUMN_OPENSERSIPSTATUSCODEOUTS, COLUMN_OPENSERSIPSTATUSCODEROWSTATUS, get_stat_var_from_num_code, NULL, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeIns, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeOuts, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeRowStatus, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeValue, openserSIPStatusCodesTable_context_s::startingInStatusCodeValue, openserSIPStatusCodesTable_context_s::startingOutStatusCodeValue, stat_var_::u, and stat_var_::val.
Referenced by initialize_table_openserSIPStatusCodesTable().
| void openserSIPStatusCodesTable_set_action | ( | netsnmp_request_group * | ) |
RowStatus = ASN_INTEGER
We shouldn't get here
why wasn't this caught in reserve1?
Definition at line 545 of file openserSIPStatusCodesTable.c.
References cb, COLUMN_OPENSERSIPSTATUSCODEROWSTATUS, LM_ERR, NULL, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeRowStatus, TC_ROWSTATUS_CREATEANDGO, and TC_ROWSTATUS_DESTROY.
Referenced by initialize_table_openserSIPStatusCodesTable().
| void openserSIPStatusCodesTable_set_commit | ( | netsnmp_request_group * | ) |
Definition at line 628 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
| void openserSIPStatusCodesTable_set_free | ( | netsnmp_request_group * | ) |
Definition at line 640 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
| void openserSIPStatusCodesTable_set_reserve1 | ( | netsnmp_request_group * | ) |
RowStatus = ASN_INTEGER
We shouldn't get here
Definition at line 426 of file openserSIPStatusCodesTable.c.
References COLUMN_OPENSERSIPSTATUSCODEROWSTATUS, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeRowStatus, TC_ROWSTATUS_ACTIVE, TC_ROWSTATUS_CREATEANDGO, and TC_ROWSTATUS_DESTROY.
Referenced by initialize_table_openserSIPStatusCodesTable().
| void openserSIPStatusCodesTable_set_reserve2 | ( | netsnmp_request_group * | ) |
RowStatus = ASN_INTEGER
We shouldn't get here
why wasn't this caught in reserve1?
Definition at line 495 of file openserSIPStatusCodesTable.c.
References COLUMN_OPENSERSIPSTATUSCODEROWSTATUS, and openserSIPStatusCodesTable_context_s::openserSIPStatusCodeRowStatus.
Referenced by initialize_table_openserSIPStatusCodesTable().
| void openserSIPStatusCodesTable_set_undo | ( | netsnmp_request_group * | ) |
Definition at line 651 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
Definition at line 91 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
Definition at line 94 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
1.5.6