Sat Aug 6 00:40:08 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 53 of file file.h.


Field Documentation

ast_mutex_t lock

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 Sat Aug 6 00:40:08 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7