aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-29 22:05:57 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-29 22:05:57 +0000
commitba1cffa6923c291011c74215415e9df28c2f55a3 (patch)
treedf89ca74afd5bcfda6c971e7d1174c200ddb82e5 /apps
parent5d603c6ccf3f214050b2ee4464b6605de1f83072 (diff)
build against the now-typedef-free dahdi/user.h
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@134254 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_dahdibarge.c5
-rw-r--r--apps/app_dahdiras.c4
-rw-r--r--apps/app_dahdiscan.c5
-rw-r--r--apps/app_flash.c2
-rw-r--r--apps/app_meetme.c6
5 files changed, 10 insertions, 12 deletions
diff --git a/apps/app_dahdibarge.c b/apps/app_dahdibarge.c
index a26af7f1d..853f2853e 100644
--- a/apps/app_dahdibarge.c
+++ b/apps/app_dahdibarge.c
@@ -102,7 +102,7 @@ static int careful_write(int fd, unsigned char *data, int len)
static int conf_run(struct ast_channel *chan, int confno, int confflags)
{
int fd;
- DAHDI_CONFINFO ztc;
+ struct dahdi_confinfo ztc;
struct ast_frame *f;
struct ast_channel *c;
struct ast_frame fr;
@@ -114,8 +114,7 @@ static int conf_run(struct ast_channel *chan, int confno, int confflags)
int retryzap;
int origfd;
int ret = -1;
-
- DAHDI_BUFFERINFO bi;
+ struct dahdi_bufferinfo bi;
char __buf[CONF_SIZE + AST_FRIENDLY_OFFSET];
char *buf = __buf + AST_FRIENDLY_OFFSET;
diff --git a/apps/app_dahdiras.c b/apps/app_dahdiras.c
index 9c92cda32..4ac5daa3d 100644
--- a/apps/app_dahdiras.c
+++ b/apps/app_dahdiras.c
@@ -156,7 +156,7 @@ static void run_ras(struct ast_channel *chan, char *args)
int status;
int res;
int signalled = 0;
- DAHDI_BUFFERINFO savebi;
+ struct dahdi_bufferinfo savebi;
int x;
res = ioctl(chan->fds[0], DAHDI_GET_BUFINFO, &savebi);
@@ -214,7 +214,7 @@ static int exec(struct ast_channel *chan, void *data)
int res=-1;
char *args;
struct ast_module_user *u;
- DAHDI_PARAMS ztp;
+ struct dahdi_params ztp;
if (!data)
data = "";
diff --git a/apps/app_dahdiscan.c b/apps/app_dahdiscan.c
index ae270e484..e1b8694e1 100644
--- a/apps/app_dahdiscan.c
+++ b/apps/app_dahdiscan.c
@@ -101,7 +101,7 @@ static int careful_write(int fd, unsigned char *data, int len)
static int conf_run(struct ast_channel *chan, int confno, int confflags)
{
int fd;
- DAHDI_CONFINFO ztc;
+ struct dahdi_confinfo ztc;
struct ast_frame *f;
struct ast_channel *c;
struct ast_frame fr;
@@ -115,8 +115,7 @@ static int conf_run(struct ast_channel *chan, int confno, int confflags)
int ret = -1;
char input[4];
int ic=0;
-
- DAHDI_BUFFERINFO bi;
+ struct dahdi_bufferinfo bi;
char __buf[CONF_SIZE + AST_FRIENDLY_OFFSET];
char *buf = __buf + AST_FRIENDLY_OFFSET;
diff --git a/apps/app_flash.c b/apps/app_flash.c
index e6b2db49a..813294583 100644
--- a/apps/app_flash.c
+++ b/apps/app_flash.c
@@ -84,7 +84,7 @@ static int flash_exec(struct ast_channel *chan, void *data)
int res = -1;
int x;
struct ast_module_user *u;
- DAHDI_PARAMS ztp;
+ struct dahdi_params ztp;
u = ast_module_user_add(chan);
if (!strcasecmp(chan->tech->type, dahdi_chan_name)) {
memset(&ztp, 0, sizeof(ztp));
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 5eabaa293..f79758477 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -742,7 +742,7 @@ static void conf_play(struct ast_channel *chan, struct ast_conference *conf, enu
static struct ast_conference *build_conf(char *confno, char *pin, char *pinadmin, int make, int dynamic, int refcount)
{
struct ast_conference *cnf;
- DAHDI_CONFINFO ztc = { 0, };
+ struct dahdi_confinfo ztc = { 0, };
int confno_int = 0;
AST_LIST_LOCK(&confs);
@@ -1373,7 +1373,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
struct ast_conf_user *user = NULL;
struct ast_conf_user *usr = NULL;
int fd;
- DAHDI_CONFINFO ztc, ztc_empty;
+ struct dahdi_confinfo ztc, ztc_empty;
struct ast_frame *f;
struct ast_channel *c;
struct ast_frame fr;
@@ -1406,7 +1406,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
char members[10] = "";
int dtmf, opt_waitmarked_timeout = 0;
time_t timeout = 0;
- DAHDI_BUFFERINFO bi;
+ struct dahdi_bufferinfo bi;
char __buf[CONF_SIZE + AST_FRIENDLY_OFFSET];
char *buf = __buf + AST_FRIENDLY_OFFSET;
int setusercount = 0;