Sun Jun 12 16:38:02 2011

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 51 of file file.h.


Field Documentation

Definition at line 52 of file file.h.

int usecnt

Definition at line 53 of file file.h.


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

Generated on Sun Jun 12 16:38:02 2011 for Asterisk - the Open Source PBX by  doxygen 1.5.6