summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther2010-12-26 19:15:48 +0100
committerHolger Hans Peter Freyther2010-12-27 19:01:37 +0100
commit2934d0a4f4391b45e4bdb9adcbc1931b1323b986 (patch)
treec501997243ac52400a1f977c9faafff879aa00ad /src/host/layer23/include
parent[cell_log] Use GPS signal, even if it becomes valid during scanning (diff)
downloadosmocom-2934d0a4f4391b45e4bdb9adcbc1931b1323b986.tar.gz
osmocom-2934d0a4f4391b45e4bdb9adcbc1931b1323b986.tar.xz
osmocom-2934d0a4f4391b45e4bdb9adcbc1931b1323b986.zip
layer23: Create an l23_app_info for various information and cb's
Make it possible that each l23 app can inject the copyright string, also prepare to have callbacks for the config handling and other places. This will be useful to add app specific config options.
Diffstat (limited to 'src/host/layer23/include')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/l23_app.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/l23_app.h b/src/host/layer23/include/osmocom/bb/common/l23_app.h
index 1a22856..8a24884 100644
--- a/src/host/layer23/include/osmocom/bb/common/l23_app.h
+++ b/src/host/layer23/include/osmocom/bb/common/l23_app.h
@@ -7,4 +7,12 @@ 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 */