Define a small set of constant return values

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@244728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2010-02-04 18:46:12 +00:00
parent 6c0399452c
commit 367f805919

View File

@@ -57,6 +57,13 @@
#define AMI_VERSION "1.1"
#define DEFAULT_MANAGER_PORT 5038 /* Default port for Asterisk management via TCP */
/*! \name Constant return values
*\note Currently, returning anything other than zero causes the session to terminate.
*/
/*@{ */
#define AMI_SUCCESS (0)
#define AMI_DESTROY (-1)
/*! \name Manager event classes */
/*@{ */
#define EVENT_FLAG_SYSTEM (1 << 0) /* System events such as module load/unload */