aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-07-23 21:25:08 +0200
committerHarald Welte <laforge@gnumonks.org>2009-07-23 21:25:48 +0200
commitc072ad6e299a5930937d336bb13c407c02aefd7b (patch)
tree9177a820d782d5f4c41f35dded8093735436f4f1 /openbsc/include
parent6f5aee07e50d5dd80529b2780556eb570a340cd2 (diff)
add missing files to git
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/transaction.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/transaction.h b/openbsc/include/openbsc/transaction.h
new file mode 100644
index 000000000..8f3e7de81
--- /dev/null
+++ b/openbsc/include/openbsc/transaction.h
@@ -0,0 +1,16 @@
+#ifndef _TRANSACT_H
+#define _TRANSACT_H
+
+#include <openbsc/gsm_data.h>
+#include <openbsc/gsm_subscriber.h>
+
+struct gsm_trans *trans_find_by_id(struct gsm_lchan *lchan, u_int8_t trans_id);
+struct gsm_trans *trans_find_by_callref(struct gsm_network *net,
+ u_int32_t callref);
+
+struct gsm_trans *trans_alloc(struct gsm_subscriber *subscr,
+ u_int8_t protocol, u_int8_t trans_id,
+ u_int32_t callref);
+void trans_free(struct gsm_trans *trans);
+
+#endif