aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/transaction.h
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:08 +0200
commit9ee4825bbf71d2fdcf87e484a716a3d96787baba (patch)
tree62db2b1564150203071eb8cf6e38c25572d43a3a /openbsc/include/openbsc/transaction.h
parent88f04251978e4a84a42337b4a13d1291562a81be (diff)
add missing files to git
Diffstat (limited to 'openbsc/include/openbsc/transaction.h')
-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