Thu Oct 11 06:44:42 2012

Asterisk developer's documentation


ast_format_lock Struct Reference

#include <file.h>


Data Fields

ast_mutex_t lock
int usecnt


Detailed Description

structure used for lock and refcount of format handlers. Should not be here, but this is a temporary workaround until we implement a more general mechanism. The format handler should include a pointer to this structure. As a trick, if usecnt is initialized with -1, ast_format_register will init the mutex for you.

Definition at line 53 of file file.h.


Field Documentation

Definition at line 54 of file file.h.

int usecnt

Definition at line 55 of file file.h.


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

Generated on Thu Oct 11 06:44:42 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6