| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
DAHDI timing interface. More...
#include "asterisk.h"#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <math.h>#include <dahdi/user.h>#include "asterisk/module.h"#include "asterisk/timing.h"#include "asterisk/utils.h"
Go to the source code of this file.
| Data Structures | |
| struct | dahdi_timer | 
| Macros | |
| #define | SEE_TIMING "For more information on Asterisk timing modules, including ways to potentially fix this problem, please see https://docs.asterisk.org/Configuration/Core-Configuration/Timing-Interfaces/\n" | 
| Functions | |
| static void | __reg_module (void) | 
| static void | __unreg_module (void) | 
| struct ast_module * | AST_MODULE_SELF_SYM (void) | 
| static int | dahdi_test_timer (void) | 
| static int | dahdi_timer_ack (void *data, unsigned int quantity) | 
| static void | dahdi_timer_close (void *data) | 
| static int | dahdi_timer_disable_continuous (void *data) | 
| static int | dahdi_timer_enable_continuous (void *data) | 
| static int | dahdi_timer_fd (void *data) | 
| static enum ast_timer_event | dahdi_timer_get_event (void *data) | 
| static unsigned int | dahdi_timer_get_max_rate (void *data) | 
| static void * | dahdi_timer_open (void) | 
| static int | dahdi_timer_set_rate (void *data, unsigned int rate) | 
| static int | load_module (void) | 
| static int | unload_module (void) | 
| Variables | |
| static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "DAHDI Timing Interface" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_TIMING, } | 
| static const struct ast_module_info * | ast_module_info = &__mod_info | 
| static struct ast_timing_interface | dahdi_timing | 
| static void * | timing_funcs_handle | 
DAHDI timing interface.
Definition in file res_timing_dahdi.c.
| #define SEE_TIMING "For more information on Asterisk timing modules, including ways to potentially fix this problem, please see https://docs.asterisk.org/Configuration/Core-Configuration/Timing-Interfaces/\n" | 
Definition at line 173 of file res_timing_dahdi.c.
| 
 | static | 
Definition at line 240 of file res_timing_dahdi.c.
| 
 | static | 
Definition at line 240 of file res_timing_dahdi.c.
| struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) | 
Definition at line 240 of file res_timing_dahdi.c.
| 
 | static | 
Definition at line 175 of file res_timing_dahdi.c.
References ast_log, ast_wait_for_input(), dahdi_timer::fd, LOG_ERROR, and SEE_TIMING.
Referenced by load_module().
| 
 | static | 
Definition at line 117 of file res_timing_dahdi.c.
References timer.
| 
 | static | 
Definition at line 91 of file res_timing_dahdi.c.
| 
 | static | 
Definition at line 132 of file res_timing_dahdi.c.
References timer.
| 
 | static | 
Definition at line 124 of file res_timing_dahdi.c.
References timer.
| 
 | static | 
Definition at line 166 of file res_timing_dahdi.c.
References timer.
| 
 | static | 
Definition at line 140 of file res_timing_dahdi.c.
References AST_TIMING_EVENT_CONTINUOUS, AST_TIMING_EVENT_EXPIRED, and timer.
| 
 | static | 
Definition at line 161 of file res_timing_dahdi.c.
| 
 | static | 
Definition at line 74 of file res_timing_dahdi.c.
References ast_calloc, ast_free, ast_log, errno, LOG_ERROR, NULL, and timer.
| 
 | static | 
Definition at line 99 of file res_timing_dahdi.c.
| 
 | static | 
Definition at line 216 of file res_timing_dahdi.c.
References AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, ast_register_timing_interface, dahdi_test_timer(), dahdi_timing, and timing_funcs_handle.
| 
 | static | 
Definition at line 226 of file res_timing_dahdi.c.
References ast_unregister_timing_interface(), and timing_funcs_handle.
| 
 | static | 
Definition at line 240 of file res_timing_dahdi.c.
| 
 | static | 
Definition at line 240 of file res_timing_dahdi.c.
| 
 | static | 
Definition at line 56 of file res_timing_dahdi.c.
Referenced by load_module().
| 
 | static | 
Definition at line 44 of file res_timing_dahdi.c.
Referenced by load_module(), and unload_module().