dlg_cb.h File Reference

#include "../../parser/msg_parser.h"

Include dependency graph for dlg_cb.h:

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

Go to the source code of this file.

Data Structures

struct  dlg_callback
struct  dlg_cb_params
struct  dlg_head_cbl

Defines

#define DLGCB_CONFIRMED   (1<<3)
#define DLGCB_CREATED   (1<<1)
#define DLGCB_DESTROY   (1<<11)
#define DLGCB_EARLY   (1<<7)
#define DLGCB_EXPIRED   (1<<6)
#define DLGCB_FAILED   (1<<2)
#define DLGCB_LOADED   (1<<0)
#define DLGCB_MI_CONTEXT   (1<<10)
#define DLGCB_REQ_WITHIN   (1<<4)
#define DLGCB_RESPONSE_FWDED   (1<<8)
#define DLGCB_RESPONSE_WITHIN   (1<<9)
#define DLGCB_TERMINATED   (1<<5)

Typedefs

typedef void( dialog_cb )(struct dlg_cell *dlg, int type, struct dlg_cb_params *params)
typedef void( param_free_cb )(void *param)
typedef int(* register_dlgcb_f )(struct dlg_cell *dlg, int cb_types, dialog_cb f, void *param, param_free_cb ff)

Functions

void destroy_dlg_callbacks (unsigned int type)
void destroy_dlg_callbacks_list (struct dlg_callback *cb)
int register_dlgcb (struct dlg_cell *dlg, int types, dialog_cb f, void *param, param_free_cb ff)
void run_create_callbacks (struct dlg_cell *dlg, struct sip_msg *msg)
void run_dlg_callbacks (int type, struct dlg_cell *dlg, struct sip_msg *msg, unsigned int dir, void *dlg_data)
void run_load_callbacks (void)


Define Documentation

#define DLGCB_CONFIRMED   (1<<3)

Definition at line 59 of file dlg_cb.h.

Referenced by __dialog_created(), dlg_onreply(), and setup_dialog_callbacks().

#define DLGCB_CREATED   (1<<1)

#define DLGCB_DESTROY   (1<<11)

Definition at line 67 of file dlg_cb.h.

Referenced by __dialog_created(), destroy_dlg(), and setup_dialog_callbacks().

#define DLGCB_EARLY   (1<<7)

Definition at line 63 of file dlg_cb.h.

Referenced by __dialog_created(), and dlg_onreply().

#define DLGCB_EXPIRED   (1<<6)

#define DLGCB_FAILED   (1<<2)

#define DLGCB_LOADED   (1<<0)

#define DLGCB_MI_CONTEXT   (1<<10)

Definition at line 66 of file dlg_cb.h.

Referenced by internal_mi_print_dlg(), and setup_dialog_callbacks().

#define DLGCB_REQ_WITHIN   (1<<4)

Definition at line 60 of file dlg_cb.h.

Referenced by __dialog_created(), dlg_onroute(), and setup_dialog_callbacks().

#define DLGCB_RESPONSE_FWDED   (1<<8)

Definition at line 64 of file dlg_cb.h.

Referenced by __dialog_created(), dlg_onreply(), and setup_dialog_callbacks().

#define DLGCB_RESPONSE_WITHIN   (1<<9)

#define DLGCB_TERMINATED   (1<<5)

Definition at line 61 of file dlg_cb.h.

Referenced by __dialog_created(), bye_reply_cb(), dlg_onroute(), and setup_dialog_callbacks().


Typedef Documentation

typedef void( dialog_cb)(struct dlg_cell *dlg, int type, struct dlg_cb_params *params)

Definition at line 47 of file dlg_cb.h.

typedef void( param_free_cb)(void *param)

Definition at line 50 of file dlg_cb.h.

typedef int(* register_dlgcb_f)(struct dlg_cell *dlg, int cb_types, dialog_cb f, void *param, param_free_cb ff)

Definition at line 52 of file dlg_cb.h.


Function Documentation

void destroy_dlg_callbacks ( unsigned int  type  ) 

void destroy_dlg_callbacks_list ( struct dlg_callback cb  ) 

int register_dlgcb ( struct dlg_cell dlg,
int  types,
dialog_cb  f,
void *  param,
param_free_cb  ff 
)

void run_create_callbacks ( struct dlg_cell dlg,
struct sip_msg msg 
)

void run_dlg_callbacks ( int  type,
struct dlg_cell dlg,
struct sip_msg msg,
unsigned int  dir,
void *  dlg_data 
)

void run_load_callbacks ( void   ) 

Definition at line 200 of file dlg_cb.c.

References cb, dlg_head_cbl::first, dlg_callback::next, POINTER_CLOSED_MARKER, and run_load_callback().

Referenced by mod_init().


Generated on Tue May 22 16:00:38 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6