#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"

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. | |
Definition in file path_mod.c.
| 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.
cmd_export_t cmds[] [static] |
| struct module_exports exports |
param_export_t params[] [static] |
Initial value:
{
{"use_received", INT_PARAM, &use_received },
{ 0, 0, 0 }
}
Definition at line 97 of file path_mod.c.
| 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().
1.5.6