pua/hash.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../mem/mem.h"
#include "../../mem/shm_mem.h"
#include "../../dprint.h"
#include "../../hash_func.h"
#include "../../parser/msg_parser.h"
#include "../../parser/parse_from.h"
#include "hash.h"
#include "pua.h"
#include "send_publish.h"

Include dependency graph for pua/hash.c:

Go to the source code of this file.

Functions

void delete_htable (ua_pres_t *presentity, unsigned int hash_code)
void destroy_htable (void)
ua_pres_tget_dialog (ua_pres_t *dialog, unsigned int hash_code)
int get_record_id (ua_pres_t *dialog, str **rec_id)
void insert_htable (ua_pres_t *presentity)
int is_dialog (ua_pres_t *dialog)
htable_tnew_htable (void)
void print_ua_pres (ua_pres_t *p)
ua_pres_tsearch_htable (ua_pres_t *pres, unsigned int hash_code)
int update_contact (struct sip_msg *msg, char *str1, char *str2)
void update_htable (ua_pres_t *p, time_t desired_expires, int expires, str *etag, unsigned int hash_code, str *contact)


Function Documentation

void delete_htable ( ua_pres_t presentity,
unsigned int  hash_code 
)

void destroy_htable ( void   ) 

ua_pres_t* get_dialog ( ua_pres_t dialog,
unsigned int  hash_code 
)

int get_record_id ( ua_pres_t dialog,
str **  rec_id 
)

void insert_htable ( ua_pres_t presentity  ) 

int is_dialog ( ua_pres_t dialog  ) 

htable_t* new_htable ( void   ) 

void print_ua_pres ( ua_pres_t p  ) 

ua_pres_t* search_htable ( ua_pres_t pres,
unsigned int  hash_code 
)

int update_contact ( struct sip_msg msg,
char *  str1,
char *  str2 
)

void update_htable ( ua_pres_t p,
time_t  desired_expires,
int  expires,
str etag,
unsigned int  hash_code,
str contact 
)


Generated on Thu May 24 08:01:09 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6