ast_timing_interface Struct Reference

Timing module interface. More...

#include <timing.h>


Data Fields

const char * name
unsigned int priority
int(* timer_ack )(void *data, unsigned int quantity)
void(* timer_close )(void *data)
int(* timer_disable_continuous )(void *data)
int(* timer_enable_continuous )(void *data)
int(* timer_fd )(void *data)
enum ast_timer_event(* timer_get_event )(void *data)
unsigned int(* timer_get_max_rate )(void *data)
void *(* timer_open )(void)
int(* timer_set_rate )(void *data, unsigned int rate)


Detailed Description

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.


Field Documentation

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)(void *data, unsigned int quantity)

void(* timer_close)(void *data)

int(* timer_disable_continuous)(void *data)

int(* timer_enable_continuous)(void *data)

int(* timer_fd)(void *data)

enum ast_timer_event(* timer_get_event)(void *data)

unsigned int(* timer_get_max_rate)(void *data)

void*(* timer_open)(void)

int(* timer_set_rate)(void *data, unsigned int rate)


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:35:43 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6