summaryrefslogtreecommitdiffstats
path: root/src/application.c
Commit message (Collapse)AuthorAgeFilesLines
* compiler warnings: take care of compiler warning "unused-result"Thorsten Alteholz2017-04-081-0/+7
| | | | | | | | Though it makes no sense to handle the return code of freopen() here, the compiler complains about it. The #pragma statements take care of that. Change-Id: Ia2caadbed2a24f84d1d55a47236b398b74224e82
* fix wrong return codeThorsten Alteholz2017-03-151-1/+1
| | | | | | | | | | | | In case we are a daemon, we do not need to daemonize again. On the other hand everything is fine and we also do not need to bail out with an error. The daemonize template at [1] does the same. [1] http://www.itp.uzh.ch/~dpotter/howto/daemonize Change-Id: Ia4dcf7344bd65934faa3d7d46563f6e0532c232e
* Update doxygen annotations in libosmocoreHarald Welte2016-05-051-1/+1
| | | | | This adds and improves doxygen API descriptions all over libosmocore, reducing the 'white spots' that don't have any documentation.
* fix libosmocore build for NuttX targetHarald Welte2014-12-041-0/+6
| | | | | | this fixes some compilation issues with libosmocore under NuttX, particularly as some #defines are missing or some header files are slightly different.
* application: don't ignore SIGHUP but do config file reopen.Harald Welte2013-03-181-1/+6
|
* doxygen: Add main page for all three librariesHarald Welte2011-08-301-0/+35
|
* some more doxygen work (include the notion of modules)Harald Welte2011-08-171-0/+17
|
* logging: introduce library-internal logging categoriesHarald Welte2011-06-271-1/+1
| | | | | | | | | | We do this by using a trick: library-internal log categories use negative subsystem numbers, which are converted into positive array indexes at the time of logging. library-internal log categories need to be knwo at compile-time, while application-specified categories now are of unlimited number, as they are dynamically allocated.
* merge process.[ch] with application.[ch]Harald Welte2011-06-261-0/+53
|
* app: Introduce some routines to help with application startupHolger Hans Peter Freyther2011-05-121-0/+49
The plan is to collect structs and routines for application setup and remove many copies of the boilerplate code we have right now. This starts with routines to ignore certain signals and the stderr init code. Increment the age of the library because a new interface was added.