From d5cd1adac016ea341b364ab07843d73d70eb9a8c Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 6 Nov 2007 15:10:14 +0000 Subject: [PATCH] update sample git-svn-id: http://svn.openzap.org/svn/openzap/trunk@315 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/freetdm/src/zap_skel.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/libs/freetdm/src/zap_skel.c b/libs/freetdm/src/zap_skel.c index c5e9a0e85d..b7e6f08555 100644 --- a/libs/freetdm/src/zap_skel.c +++ b/libs/freetdm/src/zap_skel.c @@ -83,6 +83,26 @@ static ZINT_WRITE_FUNCTION(skel_write) return ZAP_FAIL; } +static ZIO_SPAN_POLL_EVENT_FUNCTION(skel_poll_event) +{ + return ZAP_FAIL; +} + +static ZIO_SPAN_NEXT_EVENT_FUNCTION(skel_next_event) +{ + return ZAP_FAIL; +} + +static ZIO_CHANNEL_DESTROY_FUNCTION(skel_channel_destroy) +{ + return ZAP_FAIL; +} + +static ZIO_GET_ALARMS_FUNCTION(skel_get_alarms) +{ + return zap_fail; +} + static zap_software_interface_t skel_interface; zap_status_t skel_init(zap_software_interface_t **zint) @@ -99,6 +119,10 @@ zap_status_t skel_init(zap_software_interface_t **zint) skel_interface.wait = skel_wait; skel_interface.read = skel_read; skel_interface.write = skel_write; + skel_interface.poll_event = skel_poll_event; + skel_interface.next_event = skel_next_event; + skel_interface.channel_destroy = skel_channel_destroy; + skel_interface.get_alarms = skel_get_alarms; *zint = &skel_interface; return ZAP_FAIL;