summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-27 14:51:13 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-12-27 19:01:37 +0100
commitace267cfc20cbd05a6aa953d1d05733b4d174dd6 (patch)
tree04702670f9e4ef3601ab1fcceba49c56763f1a31 /src/host/layer23/include/osmocom/bb
parent63c0e6d1996733d107434585fbef5e888b3075ed (diff)
layer23: Enable combining the long options
Combine the long options from the base and the application. Provide the long option for the cell log application.
Diffstat (limited to 'src/host/layer23/include/osmocom/bb')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/l23_app.h3
1 files changed, 3 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 fcfd4bdf..e4c5d55e 100644
--- a/src/host/layer23/include/osmocom/bb/common/l23_app.h
+++ b/src/host/layer23/include/osmocom/bb/common/l23_app.h
@@ -1,6 +1,8 @@
#ifndef _L23_APP_H
#define _L23_APP_H
+struct option;
+
/* Options supported by the l23 app */
enum {
L23_OPT_SAP = 1,
@@ -24,6 +26,7 @@ struct l23_app_info {
char *getopt_string;
int (*cfg_supported)();
int (*cfg_print_help)();
+ int (*cfg_getopt_opt)(struct option **options);
int (*cfg_handle_opt)(int c,const char *optarg);
};