Fri Jul 24 00:42:08 2009

Asterisk developer's documentation


sched Struct Reference


Data Fields

ast_sched_cb callback
const void * data
int id
struct {
   sched *   next
   sched *   prev
list
int resched
int variable
timeval when

Detailed Description

Definition at line 49 of file sched.c.


Field Documentation

ast_sched_cb callback

Callback

Definition at line 56 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_dump(), ast_sched_report(), and ast_sched_runq().

const void* data

Data

Definition at line 55 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_dump(), ast_sched_find_data(), and ast_sched_runq().

int id

ID number of event

Definition at line 51 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_del(), ast_sched_dump(), ast_sched_find_data(), ast_sched_runq(), ast_sched_when(), and sched_cmp().

struct { ... } list

Referenced by ast_sched_del(), ast_sched_report(), sched_alloc(), sched_context_destroy(), sched_release(), and schedule().

struct sched* next

Definition at line 50 of file sched.c.

struct sched* prev

Definition at line 50 of file sched.c.

int resched

When to reschedule

Definition at line 53 of file sched.c.

Referenced by ast_sched_add_variable(), and ast_sched_runq().

int variable

Use return value from callback to reschedule

Definition at line 54 of file sched.c.

Referenced by ast_sched_add_variable(), and ast_sched_runq().

struct timeval when

Absolute time event should take place

Definition at line 52 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_dump(), ast_sched_runq(), and schedule().


The documentation for this struct was generated from the following file:
Generated on Fri Jul 24 00:42:09 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7