openserSIPContactTable.h File Reference

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

Include dependency graph for openserSIPContactTable.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  openserSIPContactTable_context_s

Defines

#define COLUMN_OPENSERSIPCONTACTDISPLAYNAME   2
#define COLUMN_OPENSERSIPCONTACTEXPIRY   5
#define COLUMN_OPENSERSIPCONTACTINDEX   1
#define COLUMN_OPENSERSIPCONTACTLASTUPDATED   4
#define COLUMN_OPENSERSIPCONTACTPREFERENCE   6
#define COLUMN_OPENSERSIPCONTACTURI   3
#define openserSIPContactTable_COL_MAX   6
#define openserSIPContactTable_COL_MIN   2
#define openserSIPContactTable_TABLE_OID   OPENSER_OID,3,1,2,1,5,7

Typedefs

typedef struct
openserSIPContactTable_context_s 
openserSIPContactTable_context

Functions

int createContactRow (int userIndex, int contactIndex, char *contactName, ucontact_t *contactInfo)
int deleteContactRecord (contactToIndexStruct_t **contactRecord, char *contactName)
void deleteContactRow (int userIndex, int contactIndex)
void init_openserSIPContactTable (void)
void initialize_table_openserSIPContactTable (void)
int insertContactRecord (contactToIndexStruct_t **contactRecord, int index, char *name)
const
openserSIPContactTable_context
openserSIPContactTable_get_by_idx (netsnmp_index *)
const
openserSIPContactTable_context
openserSIPContactTable_get_by_idx_rs (netsnmp_index *, int row_status)
int openserSIPContactTable_get_value (netsnmp_request_info *, netsnmp_index *, netsnmp_table_request_info *)

Variables

oid openserSIPContactTable_oid []
size_t openserSIPContactTable_oid_len


Define Documentation

#define COLUMN_OPENSERSIPCONTACTDISPLAYNAME   2

Definition at line 193 of file openserSIPContactTable.h.

Referenced by openserSIPContactTable_get_value().

#define COLUMN_OPENSERSIPCONTACTEXPIRY   5

Definition at line 196 of file openserSIPContactTable.h.

Referenced by openserSIPContactTable_get_value().

#define COLUMN_OPENSERSIPCONTACTINDEX   1

Definition at line 192 of file openserSIPContactTable.h.

#define COLUMN_OPENSERSIPCONTACTLASTUPDATED   4

Definition at line 195 of file openserSIPContactTable.h.

Referenced by openserSIPContactTable_get_value().

#define COLUMN_OPENSERSIPCONTACTPREFERENCE   6

Definition at line 197 of file openserSIPContactTable.h.

Referenced by openserSIPContactTable_get_value().

#define COLUMN_OPENSERSIPCONTACTURI   3

Definition at line 194 of file openserSIPContactTable.h.

Referenced by openserSIPContactTable_get_value().

#define openserSIPContactTable_COL_MAX   6

Definition at line 200 of file openserSIPContactTable.h.

Referenced by initialize_table_openserSIPContactTable().

#define openserSIPContactTable_COL_MIN   2

Definition at line 199 of file openserSIPContactTable.h.

Referenced by initialize_table_openserSIPContactTable().

#define openserSIPContactTable_TABLE_OID   OPENSER_OID,3,1,2,1,5,7

Definition at line 187 of file openserSIPContactTable.h.


Typedef Documentation


Function Documentation

int createContactRow ( int  userIndex,
int  contactIndex,
char *  contactName,
ucontact_t contactInfo 
)

int deleteContactRecord ( contactToIndexStruct_t **  contactRecord,
char *  contactName 
)

void deleteContactRow ( int  userIndex,
int  contactIndex 
)

void init_openserSIPContactTable ( void   ) 

void initialize_table_openserSIPContactTable ( void   ) 

create the table structure itself

mallocs failed

index: openserSIPUserIndex

index: openserSIPContactIndex

Definition at line 281 of file openserSIPContactTable.c.

References cb, my_handler, openserSIPContactTable_COL_MAX, openserSIPContactTable_COL_MIN, openserSIPContactTable_get_value(), openserSIPContactTable_oid, and openserSIPContactTable_oid_len.

Referenced by init_openserSIPContactTable().

int insertContactRecord ( contactToIndexStruct_t **  contactRecord,
int  index,
char *  name 
)

const openserSIPContactTable_context* openserSIPContactTable_get_by_idx ( netsnmp_index *   ) 

Definition at line 458 of file openserSIPContactTable.c.

References cb.

const openserSIPContactTable_context* openserSIPContactTable_get_by_idx_rs ( netsnmp_index *  ,
int  row_status 
)

int openserSIPContactTable_get_value ( netsnmp_request_info *  ,
netsnmp_index *  ,
netsnmp_table_request_info *   
)


Variable Documentation

Definition at line 89 of file openserSIPContactTable.c.

Referenced by initialize_table_openserSIPContactTable().

Definition at line 90 of file openserSIPContactTable.c.

Referenced by initialize_table_openserSIPContactTable().


Generated on Thu May 24 00:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6