convert lists of constants in channel.h to enums instead of #defines

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-08-19 00:33:44 +00:00
parent 590591c16e
commit 5dc72404ab
4 changed files with 101 additions and 76 deletions

View File

@@ -339,7 +339,7 @@ static struct vpb_pvt {
} *iflist = NULL;
static struct ast_channel *vpb_new(struct vpb_pvt *i, int state, char *context);
static struct ast_channel *vpb_new(struct vpb_pvt *i, enum ast_channel_state state, char *context);
static void *do_chanreads(void *pvt);
static struct ast_channel *vpb_request(const char *type, int format, void *data, int *cause);
@@ -2618,7 +2618,7 @@ static void *do_chanreads(void *pvt)
return NULL;
}
static struct ast_channel *vpb_new(struct vpb_pvt *me, int state, char *context)
static struct ast_channel *vpb_new(struct vpb_pvt *me, enum ast_channel_state state, char *context)
{
struct ast_channel *tmp;
char cid_num[256];