blob: 8f3e7de81099fef100779e37dcbca4aeb15c34b0 [file] [log] [blame]
Harald Welte9ee48252009-07-23 21:25:08 +02001#ifndef _TRANSACT_H
2#define _TRANSACT_H
3
4#include <openbsc/gsm_data.h>
5#include <openbsc/gsm_subscriber.h>
6
7struct gsm_trans *trans_find_by_id(struct gsm_lchan *lchan, u_int8_t trans_id);
8struct gsm_trans *trans_find_by_callref(struct gsm_network *net,
9 u_int32_t callref);
10
11struct gsm_trans *trans_alloc(struct gsm_subscriber *subscr,
12 u_int8_t protocol, u_int8_t trans_id,
13 u_int32_t callref);
14void trans_free(struct gsm_trans *trans);
15
16#endif