diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-10 02:50:06 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-10 02:50:06 +0000 |
commit | 96b4b4cec6c27f17c65c5b44b5cfb5a2af70c56e (patch) | |
tree | 90f5178c97a9ac1fa7422869f775ac94ee146fb2 /channels | |
parent | 072c8f498c496d41adbbfb85c36492c4f29d6436 (diff) |
Covert some spaces to tabs, and put a list of defines in an enum.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50230 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_iax2.c | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 4248394e8..a1cba300a 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -513,9 +513,9 @@ struct chan_iax2_pvt { /*! timeval that we base our delivery on */ struct timeval rxcore; /*! The jitterbuffer */ - jitterbuf *jb; + jitterbuf *jb; /*! active jb read scheduler id */ - int jbid; + int jbid; /*! LAG */ int lag; /*! Error, as discovered by the manager */ @@ -637,22 +637,24 @@ static AST_LIST_HEAD_STATIC(peers, iax2_peer); static AST_LIST_HEAD_STATIC(firmwares, iax_firmware); -/*! Extension exists */ -#define CACHE_FLAG_EXISTS (1 << 0) -/*! Extension is nonexistent */ -#define CACHE_FLAG_NONEXISTENT (1 << 1) -/*! Extension can exist */ -#define CACHE_FLAG_CANEXIST (1 << 2) -/*! Waiting to hear back response */ -#define CACHE_FLAG_PENDING (1 << 3) -/*! Timed out */ -#define CACHE_FLAG_TIMEOUT (1 << 4) -/*! Request transmitted */ -#define CACHE_FLAG_TRANSMITTED (1 << 5) -/*! Timeout */ -#define CACHE_FLAG_UNKNOWN (1 << 6) -/*! Matchmore */ -#define CACHE_FLAG_MATCHMORE (1 << 7) +enum { + /*! Extension exists */ + CACHE_FLAG_EXISTS = (1 << 0), + /*! Extension is nonexistent */ + CACHE_FLAG_NONEXISTENT = (1 << 1), + /*! Extension can exist */ + CACHE_FLAG_CANEXIST = (1 << 2), + /*! Waiting to hear back response */ + CACHE_FLAG_PENDING = (1 << 3), + /*! Timed out */ + CACHE_FLAG_TIMEOUT = (1 << 4), + /*! Request transmitted */ + CACHE_FLAG_TRANSMITTED = (1 << 5), + /*! Timeout */ + CACHE_FLAG_UNKNOWN = (1 << 6), + /*! Matchmore */ + CACHE_FLAG_MATCHMORE = (1 << 7), +}; struct iax2_dpcache { char peercontext[AST_MAX_CONTEXT]; |