Wed Oct 28 11:47:14 2009

Asterisk developer's documentation


io_context Struct Reference

Global IO variables are now in a struct in order to be made threadsafe. More...

Collaboration diagram for io_context:

Collaboration graph
[legend]

Data Fields

int current_ioc
unsigned int fdcnt
struct pollfd * fds
struct io_recior
unsigned int maxfdcnt
int needshrink

Detailed Description

Global IO variables are now in a struct in order to be made threadsafe.

Definition at line 62 of file io.c.


Field Documentation

Currently used io callback

Definition at line 67 of file io.c.

Referenced by ast_io_remove(), ast_io_wait(), and io_context_create().

unsigned int fdcnt

First available fd

Definition at line 65 of file io.c.

Referenced by ast_io_add(), ast_io_change(), ast_io_dump(), ast_io_remove(), ast_io_wait(), io_context_create(), and io_shrink().

struct pollfd* fds [read]

struct io_rec* ior [read]

Associated I/O records

Definition at line 64 of file io.c.

Referenced by ast_io_add(), ast_io_change(), ast_io_dump(), ast_io_remove(), ast_io_wait(), io_context_create(), io_context_destroy(), io_grow(), and io_shrink().

unsigned int maxfdcnt

Maximum available fd

Definition at line 66 of file io.c.

Referenced by ast_io_add(), ast_io_dump(), io_context_create(), and io_grow().

Whether something has been deleted

Definition at line 68 of file io.c.

Referenced by ast_io_remove(), ast_io_wait(), io_context_create(), and io_shrink().


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

Generated on Wed Oct 28 11:47:14 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6