aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_transp.h
blob: b2967f9320c4170edb7376af3d2d1b3df83579ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _FEMTOL1_TRANSPH_
#define _FEMTOL1_TRANSPH_

#include <osmocom/core/msgb.h>

/* functions a transport calls on arrival of primitive from BTS */
int l1if_handle_l1prim(int wq, struct femtol1_hdl *fl1h, struct msgb *msg);
int l1if_handle_sysprim(struct femtol1_hdl *fl1h, struct msgb *msg);

/* functions exported by a transport */
int l1if_transport_open(int q, struct femtol1_hdl *fl1h);
int l1if_transport_close(int q, struct femtol1_hdl *fl1h);

#endif /* _FEMTOL1_TRANSP_H */