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

#include <osmocom/core/msgb.h>

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

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

#endif /* _L1_TRANSP_H */