Timing module interface. More...
#include <timing.h>
Data Fields | |
const char * | name |
unsigned int | priority |
int(* | timer_ack )(int handle, unsigned int quantity) |
void(* | timer_close )(int handle) |
int(* | timer_disable_continuous )(int handle) |
int(* | timer_enable_continuous )(int handle) |
enum ast_timer_event(* | timer_get_event )(int handle) |
unsigned int(* | timer_get_max_rate )(int handle) |
int(* | timer_open )(void) |
int(* | timer_set_rate )(int handle, unsigned int rate) |
Timing module interface.
The public API calls for the timing API directly map to this interface. So, the behavior of these calls should match the documentation of the public API calls.
Definition at line 69 of file timing.h.
const char* name |
Definition at line 70 of file timing.h.
Referenced by ast_timer_get_name(), and timing_test().
unsigned int priority |
This handles the case where multiple timing modules are loaded. The highest priority timing interface available will be used.
Definition at line 73 of file timing.h.
Referenced by timing_holder_cmp().
int(* timer_ack)(int handle, unsigned int quantity) |
Referenced by _ast_register_timing_interface(), and ast_timer_ack().
void(* timer_close)(int handle) |
Referenced by _ast_register_timing_interface(), ast_timer_close(), and ast_timer_open().
int(* timer_disable_continuous)(int handle) |
Referenced by _ast_register_timing_interface(), and ast_timer_disable_continuous().
int(* timer_enable_continuous)(int handle) |
Referenced by _ast_register_timing_interface(), and ast_timer_enable_continuous().
enum ast_timer_event(* timer_get_event)(int handle) |
Referenced by _ast_register_timing_interface(), and ast_timer_get_event().
unsigned int(* timer_get_max_rate)(int handle) |
Referenced by _ast_register_timing_interface(), and ast_timer_get_max_rate().
int(* timer_open)(void) |
Referenced by _ast_register_timing_interface(), and ast_timer_open().
int(* timer_set_rate)(int handle, unsigned int rate) |
Referenced by _ast_register_timing_interface(), and ast_timer_set_rate().