]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Intial Checkin of M3UA ZAP IO
authorShane Burrell <shaneb@metrostat.net>
Fri, 4 Apr 2008 19:05:29 +0000 (19:05 +0000)
committerShane Burrell <shaneb@metrostat.net>
Fri, 4 Apr 2008 19:05:29 +0000 (19:05 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@441 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/include/zap_m3ua.h [new file with mode: 0644]

diff --git a/libs/freetdm/src/include/zap_m3ua.h b/libs/freetdm/src/include/zap_m3ua.h
new file mode 100644 (file)
index 0000000..8819d37
--- /dev/null
@@ -0,0 +1,82 @@
+/*
+ *  zap_m3ua.h
+ *  openzap
+ *
+ *  Created by Shane Burrell on 4/3/08.
+ *  Copyright 2008 Shane Burrell. All rights reserved.
+ *
+
+ * 
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 
+ * * Neither the name of the original author; nor the names of any contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ * 
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER
+ * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+//#include "m3ua_client.h"
+#include "openzap.h"
+
+typedef enum {
+       M3UA_SPAN_SIGNALING_M3UA,
+       M3UA_SPAN_SIGNALING_SS7BOX,
+       
+} M3UA_TSpanSignaling;
+#define M3UA_SPAN_STRINGS "M3UA", "SS7BOX"
+ZAP_STR2ENUM_P(m3ua_str2span, m3ua_span2str, M3UA_TSpanSignaling)
+
+
+
+typedef enum {
+       ZAP_M3UA_RUNNING = (1 << 0)
+} zap_m3uat_flag_t;
+
+/*typedef struct mu3a_link {
+       ss7bc_connection_t mcon;
+       ss7bc_connection_t pcon;
+       zio_signal_cb_t signal_cb;
+       uint32_t flags;
+} zap_m3ua_data_t;
+*/
+
+zap_status_t m3ua_init(zap_io_interface_t **zint);
+zap_status_t m3ua_destroy(void);
+
+
+
+
+
+/* For Emacs:
+ * Local Variables:
+ * mode:c
+ * indent-tabs-mode:t
+ * tab-width:4
+ * c-basic-offset:4
+ * End:
+ * For VIM:
+ * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
+ */
+