aboutsummaryrefslogtreecommitdiffstats
path: root/package/libtapi/src/tapi-session.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2010-11-03 19:12:34 +0000
committerJohn Crispin <john@openwrt.org>2010-11-03 19:12:34 +0000
commita8b2a07f375edefec242de9f20d4aefafa927517 (patch)
treed15f5bb696bfa9dfd9555788d411e0ba59b99a65 /package/libtapi/src/tapi-session.h
parent72ae8452cda47d6e18e664097a4adbc0eee3fc7b (diff)
downloadupstream-a8b2a07f375edefec242de9f20d4aefafa927517.tar.gz
upstream-a8b2a07f375edefec242de9f20d4aefafa927517.tar.bz2
upstream-a8b2a07f375edefec242de9f20d4aefafa927517.zip
* adds a rewrite of the tapi drivers + sip app. this is the result of lars' gsoc 2010 project, Thanks !
SVN-Revision: 23840
Diffstat (limited to 'package/libtapi/src/tapi-session.h')
-rw-r--r--package/libtapi/src/tapi-session.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libtapi/src/tapi-session.h b/package/libtapi/src/tapi-session.h
new file mode 100644
index 0000000000..15d94735eb
--- /dev/null
+++ b/package/libtapi/src/tapi-session.h
@@ -0,0 +1,14 @@
+#ifndef __TAPI_SESSION_H__
+#define __TAPI_SESSION_H__
+
+struct tapi_device;
+struct tapi_port;
+struct tapi_session;
+
+struct tapi_session *tapi_session_alloc(struct tapi_device *dev,
+ struct tapi_port *caller, struct tapi_port *callee,
+ void (*release)(struct tapi_session *session, void *data), void *release_data);
+
+void tapi_session_free(struct tapi_session *session);
+
+#endif