23 #ifndef _ASTERISK_PHONEPROV_H 24 #define _ASTERISK_PHONEPROV_H Asterisk main include file. File version handling, generic pbx functions.
ast_phoneprov_std_variables
int(* ast_phoneprov_load_users_cb)(void)
Causes the provider to load its users.
static void load_users(struct ast_config *cfg)
int ast_phoneprov_provider_register(char *provider_name, ast_phoneprov_load_users_cb load_users)
Registers a config provider to phoneprov.
void ast_phoneprov_delete_extensions(char *provider_name)
Deletes all extensions for this provider.
Inlinable API function macro.
void ast_phoneprov_provider_unregister(char *provider_name)
Unegisters a config provider from phoneprov and frees its resources.
int ast_phoneprov_add_extension(char *provider_name, struct varshead *vars)
Adds an extension.
const char * ast_phoneprov_std_variable_lookup(enum ast_phoneprov_std_variables var)
Returns the string respresentation of a phoneprov standard variable.
void ast_phoneprov_delete_extension(char *provider_name, char *macaddress)
Deletes an extension.