[asterisk-commits] russell: trunk r48300 -
/trunk/channels/chan_iax2.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Dec 6 00:16:09 MST 2006
Author: russell
Date: Wed Dec 6 01:16:09 2006
New Revision: 48300
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48300
Log:
Instead of creating an unused instance of an unnamed enum, give it a name.
Modified:
trunk/channels/chan_iax2.c
Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=48300&r1=48299&r2=48300
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Dec 6 01:16:09 2006
@@ -238,19 +238,19 @@
AST_MUTEX_DEFINE_STATIC(sched_lock);
static ast_cond_t sched_cond;
-enum {
+enum iax2_state {
IAX_STATE_STARTED = (1 << 0),
IAX_STATE_AUTHENTICATED = (1 << 1),
IAX_STATE_TBD = (1 << 2),
IAX_STATE_UNCHANGED = (1 << 3),
-} iax2_state;
+};
struct iax2_context {
char context[AST_MAX_CONTEXT];
struct iax2_context *next;
};
-enum {
+enum iax2_flags {
IAX_HASCALLERID = (1 << 0), /*!< CallerID has been specified */
IAX_DELME = (1 << 1), /*!< Needs to be deleted */
IAX_TEMPONLY = (1 << 2), /*!< Temporary (realtime) */
@@ -276,7 +276,7 @@
IAX_TRUNKTIMESTAMPS = (1 << 22), /*!< Send trunk timestamps */
IAX_TRANSFERMEDIA = (1 << 23), /*!< When doing IAX2 transfers, transfer media only */
IAX_MAXAUTHREQ = (1 << 24), /*!< Maximum outstanding AUTHREQ restriction is in place */
-} iax2_flags;
+};
static int global_rtautoclear = 120;
More information about the asterisk-commits
mailing list