#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_OPENSERSIPUSERAUTHENTICATIONFAILURES 3 |
Definition at line 182 of file openserSIPRegUserTable.h.
Referenced by openserSIPRegUserTable_get_value().
| #define COLUMN_OPENSERSIPUSERINDEX 1 |
Definition at line 180 of file openserSIPRegUserTable.h.
| #define COLUMN_OPENSERSIPUSERURI 2 |
Definition at line 181 of file openserSIPRegUserTable.h.
Referenced by openserSIPRegUserTable_get_value().
| #define openserSIPRegUserTable_COL_MAX 3 |
Definition at line 185 of file openserSIPRegUserTable.h.
Referenced by initialize_table_openserSIPRegUserTable().
| #define openserSIPRegUserTable_COL_MIN 2 |
Definition at line 184 of file openserSIPRegUserTable.h.
Referenced by initialize_table_openserSIPRegUserTable().
| #define openserSIPRegUserTable_TABLE_OID OPENSER_OID,3,1,2,1,5,6 |
Definition at line 177 of file openserSIPRegUserTable.h.
| typedef struct openserSIPRegUserTable_context_s openserSIPRegUserTable_context |
| int createRegUserRow | ( | char * | stringToRegister | ) |
Definition at line 226 of file openserSIPRegUserTable.c.
References cb, openserSIPRegUserTable_context_s::index, LM_ERR, NULL, openserSIPRegUserTable_context_s::openserSIPUserAuthenticationFailures, openserSIPRegUserTable_context_s::openserSIPUserIndex, openserSIPRegUserTable_context_s::openserSIPUserUri, openserSIPRegUserTable_context_s::openserSIPUserUri_len, pkg_free, and pkg_malloc.
Referenced by init_openserSIPRegUserTable(), and updateUser().
| void deleteRegUserRow | ( | int | userIndex | ) |
Definition at line 137 of file openserSIPRegUserTable.c.
References cb, openserSIPRegUserTable_context_s::index, NULL, openserSIPRegUserTable_context_s::openserSIPUserUri, and pkg_free.
Referenced by deleteUser(), and updateUser().
| void init_openserSIPRegUserTable | ( | void | ) |
Definition at line 281 of file openserSIPRegUserTable.c.
References createRegUserRow(), and initialize_table_openserSIPRegUserTable().
Referenced by initialize_agentx().
| void initialize_table_openserSIPRegUserTable | ( | void | ) |
mallocs failed
Definition at line 298 of file openserSIPRegUserTable.c.
References cb, my_handler, openserSIPRegUserTable_COL_MAX, openserSIPRegUserTable_COL_MIN, openserSIPRegUserTable_get_value(), openserSIPRegUserTable_oid, and openserSIPRegUserTable_oid_len.
Referenced by init_openserSIPRegUserTable().
| const openserSIPRegUserTable_context* openserSIPRegUserTable_get_by_idx | ( | netsnmp_index * | ) |
| const openserSIPRegUserTable_context* openserSIPRegUserTable_get_by_idx_rs | ( | netsnmp_index * | , | |
| int | row_status | |||
| ) |
| int openserSIPRegUserTable_get_value | ( | netsnmp_request_info * | , | |
| netsnmp_index * | , | |||
| netsnmp_table_request_info * | ||||
| ) |
SnmpAdminString = ASN_OCTET_STR
COUNTER = ASN_COUNTER
We shouldn't get here
Definition at line 346 of file openserSIPRegUserTable.c.
References COLUMN_OPENSERSIPUSERAUTHENTICATIONFAILURES, COLUMN_OPENSERSIPUSERURI, consumeInterprocessBuffer(), openserSIPRegUserTable_context_s::openserSIPUserAuthenticationFailures, openserSIPRegUserTable_context_s::openserSIPUserUri, and openserSIPRegUserTable_context_s::openserSIPUserUri_len.
Referenced by initialize_table_openserSIPRegUserTable().
| void pushUserIntoHashTable | ( | int | userIndex, | |
| char * | stringName | |||
| ) |
| int registerForUSRLOCCallbacks | ( | void | ) |
Definition at line 104 of file openserSIPRegUserTable.c.
References bind_usrloc(), find_export(), handleContactCallbacks(), LM_ERR, LM_INFO, NULL, usrloc_api::register_ulcb, ul, UL_CONTACT_EXPIRE, and UL_CONTACT_INSERT.
Referenced by mod_init().
| void updateUser | ( | char * | userName | ) |
Definition at line 171 of file openserSIPRegUserTable.c.
References createHashRecord(), createRegUserRow(), deleteRegUserRow(), findHashRecord(), HASH_SIZE, hashTable, insertHashRecord(), LM_ERR, NULL, and aorToIndexStruct::numContacts.
Referenced by executeInterprocessBufferCmd().
Definition at line 95 of file openserSIPRegUserTable.c.
Referenced by initialize_table_openserSIPRegUserTable().
Definition at line 96 of file openserSIPRegUserTable.c.
Referenced by initialize_table_openserSIPRegUserTable().
1.5.6