layer23: Make the logfile configurable with cell_log
authorHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 27 Dec 2010 07:58:57 +0000 (08:58 +0100)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Mon, 27 Dec 2010 18:01:37 +0000 (19:01 +0100)
commit63c0e6d1996733d107434585fbef5e888b3075ed
tree37973849e32a30cdd224d1873944212408f3913d
parent738f9d892aa99639c9148643923505f748e72937
layer23: Make the logfile configurable with cell_log

Be able to add extra (short) options from the 'applet' to
the main application. Use this to print the help mentioning
app specific options, pass the getopt string and handle the
command line parsing for it.

Change cell_log to keep the logname in the app_cell_log.c
and then access it from the cell_log.c implementation.
src/host/layer23/include/osmocom/bb/common/l23_app.h
src/host/layer23/src/common/main.c
src/host/layer23/src/misc/app_cell_log.c
src/host/layer23/src/misc/cell_log.c