55 int length = strlen(value) + 1;
59 ignorepat =
ast_calloc(1,
sizeof(*ignorepat) + length);
70 pattern = (
char *) ignorepat->
pattern;
71 strcpy(pattern, value);
Asterisk main include file. File version handling, generic pbx functions.
Private include file for pbx.
void ignorepat_free(struct ast_ignorepat *ip)
Core PBX routines and definitions.
struct ast_ignorepat * ignorepat_alloc(const char *value, const char *registrar)
ast_ignorepat: Ignore patterns in dial plan
const char * ast_get_ignorepat_name(const struct ast_ignorepat *ip)
#define ast_calloc(num, len)
A wrapper for calloc()
Prototypes for public functions only of internal interest,.
const char * ast_get_ignorepat_registrar(const struct ast_ignorepat *ip)