aboutsummaryrefslogtreecommitdiffstats
path: root/package/tapi_sip/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/tapi_sip/src/session.h')
-rw-r--r--package/tapi_sip/src/session.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/tapi_sip/src/session.h b/package/tapi_sip/src/session.h
new file mode 100644
index 0000000000..7403785f5f
--- /dev/null
+++ b/package/tapi_sip/src/session.h
@@ -0,0 +1,14 @@
+#ifndef __SESSION_H__
+#define __SESSION_H__
+
+struct agent;
+struct session;
+struct tapi_device;
+
+struct session *session_alloc(struct tapi_device *, struct agent *caller,
+ struct agent *callee, void (*release)(struct session *));
+void session_hangup(struct session *, struct agent *);
+void session_accept(struct session *, struct agent *);
+void session_free(struct session *);
+
+#endif