#include <stdio.h>#include <string.h>#include <time.h>#include <stdlib.h>#include "../../mem/shm_mem.h"#include "../../str.h"#include "../../dprint.h"


Go to the source code of this file.
Data Structures | |
| struct | location |
| struct | location::address |
Defines | |
| #define | CPL_LOC_DUPL (1<<0) |
| #define | CPL_LOC_NATED (1<<1) |
Functions | |
| static int | add_location (struct location **loc_set, str *uri, str *received, unsigned int prio, int flags) |
| static void | empty_location_set (struct location **loc_set) |
| static void | free_location (struct location *loc) |
| static void | print_location_set (struct location *loc_set) |
| static struct location * | remove_first_location (struct location **loc_set) |
| static void | remove_location (struct location **loc_set, char *uri_s, int uri_len) |
| #define CPL_LOC_DUPL (1<<0) |
Definition at line 37 of file loc_set.h.
Referenced by add_contacts_to_loc_set(), add_location(), and run_lookup().
| #define CPL_LOC_NATED (1<<1) |
| static int add_location | ( | struct location ** | loc_set, | |
| str * | uri, | |||
| str * | received, | |||
| unsigned int | prio, | |||
| int | flags | |||
| ) | [inline, static] |
Definition at line 63 of file loc_set.h.
References location::addr, CPL_LOC_DUPL, location::flags, _str::len, LM_ERR, location::next, location::address::priority, location::address::received, _str::s, shm_malloc(), and location::address::uri.
Referenced by add_contacts_to_loc_set(), cpl_invoke_script(), run_location(), and run_lookup().
| static void empty_location_set | ( | struct location ** | loc_set | ) | [inline, static] |
Definition at line 176 of file loc_set.h.
References location::next, and shm_free.
Referenced by free_cpl_interpreter(), run_location(), run_lookup(), and run_remove_location().
| static void free_location | ( | struct location * | loc | ) | [inline, static] |
| static void print_location_set | ( | struct location * | loc_set | ) | [inline, static] |
Definition at line 189 of file loc_set.h.
References location::addr, LM_DBG, location::next, location::address::priority, location::address::received, _str::s, and location::address::uri.
Referenced by reply_callback().
Definition at line 158 of file loc_set.h.
References location::addr, _str::len, LM_DBG, location::next, _str::s, and location::address::uri.
Referenced by reply_callback(), and run_proxy().
| static void remove_location | ( | struct location ** | loc_set, | |
| char * | uri_s, | |||
| int | uri_len | |||
| ) | [inline, static] |
Definition at line 130 of file loc_set.h.
References LM_DBG, location::next, and shm_free.
Referenced by run_remove_location().
1.5.6