#include <net-snmp/net-snmp-config.h>#include <net-snmp/net-snmp-includes.h>#include <net-snmp/agent/net-snmp-agent-includes.h>#include <net-snmp/library/snmp_assert.h>#include "openserSIPStatusCodesTable.h"#include "snmpstats_globals.h"

Go to the source code of this file.
| 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 * | hdr | ) |
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 * | ctx | ) |
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 * | row_ctx | ) |
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 * | hdr | ) |
| int openserSIPStatusCodesTable_get_value | ( | netsnmp_request_info * | request, | |
| netsnmp_index * | item, | |||
| netsnmp_table_request_info * | table_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().
| static int openserSIPStatusCodesTable_row_copy | ( | openserSIPStatusCodesTable_context * | dst, | |
| openserSIPStatusCodesTable_context * | src | |||
| ) | [static] |
Definition at line 110 of file openserSIPStatusCodesTable.c.
References openserSIPStatusCodesTable_context_s::index, NULL, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeIns, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeMethod, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeOuts, openserSIPStatusCodesTable_context_s::openserSIPStatusCodeRowStatus, and openserSIPStatusCodesTable_context_s::openserSIPStatusCodeValue.
Referenced by initialize_table_openserSIPStatusCodesTable(), and openserSIPStatusCodesTable_duplicate_row().
| void openserSIPStatusCodesTable_set_action | ( | netsnmp_request_group * | rg | ) |
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 * | rg | ) |
Definition at line 628 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
| void openserSIPStatusCodesTable_set_free | ( | netsnmp_request_group * | rg | ) |
Definition at line 640 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
| void openserSIPStatusCodesTable_set_reserve1 | ( | netsnmp_request_group * | rg | ) |
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 * | rg | ) |
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 * | rg | ) |
Definition at line 651 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
netsnmp_table_array_callbacks cb [static] |
Definition at line 89 of file openserSIPStatusCodesTable.c.
netsnmp_handler_registration* my_handler = NULL [static] |
Definition at line 88 of file openserSIPStatusCodesTable.c.
Initial value:
Definition at line 91 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
Initial value:
OID_LENGTH(openserSIPStatusCodesTable_oid)
Definition at line 94 of file openserSIPStatusCodesTable.c.
Referenced by initialize_table_openserSIPStatusCodesTable().
1.5.6