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