mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user