/ changed ast_channel_tech structure init to the GCC-specific format, seems
authorBen Kramer <bkramer@voicetronix.com.au>
Mon, 21 Mar 2005 00:05:57 +0000 (00:05 +0000)
committerBen Kramer <bkramer@voicetronix.com.au>
Mon, 21 Mar 2005 00:05:57 +0000 (00:05 +0000)
/ to compile, but havent run it yet

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5218 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_vpb.c

index ab43ec9..361a33c 100755 (executable)
@@ -326,30 +326,30 @@ static int vpb_indicate(struct ast_channel *ast, int condition);
 static int vpb_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);
 
 static const struct ast_channel_tech vpb_tech = {
-       type,
-       tdesc,
-       AST_FORMAT_SLINEAR,
-       NULL,
-       vpb_request,
-       NULL,
-       vpb_digit,
-       vpb_call,
-       vpb_hangup,
-       vpb_answer,
-       vpb_read,
-       vpb_write,
-       NULL,
-       NULL,
-       NULL,
-       NULL,
-       vpb_bridge,
-       vpb_indicate,
-       vpb_fixup,
-       NULL,
-       NULL,
-       NULL,
-       NULL,
-       NULL
+       type: type,
+       description: tdesc,
+       capabilities: AST_FORMAT_SLINEAR,
+       properties: NULL,
+       requester: vpb_request,
+       devicestate: NULL,
+       send_digit: vpb_digit,
+       call: vpb_call,
+       hangup: vpb_hangup,
+       answer: vpb_answer,
+       read: vpb_read,
+       write: vpb_write,
+       send_text: NULL,
+       send_image: NULL,
+       send_html: NULL,
+       exception: NULL,
+       bridge: vpb_bridge,
+       indicate: vpb_indicate,
+       fixup: vpb_fixup,
+       setoption: NULL,
+       queryoption: NULL,
+       transfer: NULL,
+       write_video: NULL,
+       bridged_channel: NULL
 };
 
 /* Can't get vpb_bridge() working on v4pci without either a horrible