aboutsummaryrefslogtreecommitdiffstats
path: root/package/libtapi/src/tapi-session.h
diff options
context:
space:
mode:
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