Covert some spaces to tabs, and put a list of defines in an enum.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Russell Bryant 19 years ago
parent 79756a9d6a
commit 444acad95b

@ -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];

Loading…
Cancel
Save