[svn-commits] tilghman: trunk r244728 - /trunk/include/asterisk/manager.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 4 12:46:16 CST 2010


Author: tilghman
Date: Thu Feb  4 12:46:12 2010
New Revision: 244728

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=244728
Log:
Define a small set of constant return values

Modified:
    trunk/include/asterisk/manager.h

Modified: trunk/include/asterisk/manager.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/manager.h?view=diff&rev=244728&r1=244727&r2=244728
==============================================================================
--- trunk/include/asterisk/manager.h (original)
+++ trunk/include/asterisk/manager.h Thu Feb  4 12:46:12 2010
@@ -56,6 +56,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 */
 /*@{ */




More information about the svn-commits mailing list