summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common/l23_app.h
blob: 8a248843954b8db8be6c888725da6bb6ef67ddb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _L23_APP_H
#define _L23_APP_H

/* initialization, called once when starting the app, before entering
 * select loop */
extern int l23_app_init(struct osmocom_ms *ms);
extern int (*l23_app_work) (struct osmocom_ms *ms);
extern int (*l23_app_exit) (struct osmocom_ms *ms);

/* configuration options */
struct l23_app_info {
	const char *copyright;
	const char *contribution;
};

extern struct l23_app_info *l23_app_info();

#endif /* _L23_APP_H */