path_mod.c File Reference

Path :: Core. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../sr_module.h"
#include "../../mem/mem.h"
#include "../../mod_fix.h"
#include "../rr/api.h"
#include "path.h"
#include "path_mod.h"

Include dependency graph for path_mod.c:

Go to the source code of this file.

Functions

static int mod_init (void)
 Module initialization function prototype.

Variables

static cmd_export_t cmds []
 Exported functions.
struct module_exports exports
 Module interface.
static param_export_t params []
 Exported parameters.
struct rr_binds path_rrb
 rr callback API
MODULE_VERSION int use_received = 0
 If received-param of current Route uri should be used as dst-uri.


Detailed Description

Path :: Core.

Definition in file path_mod.c.


Function Documentation

static int mod_init ( void   )  [static]

Module initialization function prototype.

Definition at line 122 of file path_mod.c.

References LM_ERR, load_rr_api(), path_rr_callback(), path_rrb, rr_binds::register_rrcb, and use_received.


Variable Documentation

cmd_export_t cmds[] [static]

Exported functions.

Definition at line 81 of file path_mod.c.

Module interface.

Definition at line 106 of file path_mod.c.

param_export_t params[] [static]

Initial value:

 {
   {"use_received", INT_PARAM, &use_received },
   { 0, 0, 0 }
}
Exported parameters.

Definition at line 97 of file path_mod.c.

rr callback API

Definition at line 75 of file path_mod.c.

Referenced by mod_init().

MODULE_VERSION int use_received = 0

If received-param of current Route uri should be used as dst-uri.

Definition at line 65 of file path_mod.c.

Referenced by mod_init().


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