allows for use of the originate function from

the cli patch 5847


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matt O'Gorman
2006-01-18 15:42:48 +00:00
parent 8dc9457bb7
commit c814734307
3 changed files with 207 additions and 1 deletions

View File

@@ -290,6 +290,10 @@ void ast_unregister_atexit(void (*func)(void));
static struct localuser *localusers = NULL; \
static int localusecnt = 0;
#define STANDARD_USECOUNT_DECL \
AST_MUTEX_DEFINE_STATIC(localuser_lock); \
static int localusecnt = 0;
#define STANDARD_INCREMENT_USECOUNT \
ast_mutex_lock(&localuser_lock); \
localusecnt++; \