2014-06-16 08:13:40 +00:00
|
|
|
#pragma once
|
2011-05-12 11:46:33 +00:00
|
|
|
|
2011-08-17 10:46:48 +00:00
|
|
|
/*!
|
|
|
|
* \file application.h
|
|
|
|
* \brief Routines for helping with the osmocom application setup.
|
2011-05-12 11:46:33 +00:00
|
|
|
*/
|
|
|
|
|
2011-08-17 10:46:48 +00:00
|
|
|
/*! \brief information containing the available logging subsystems */
|
2011-05-12 11:46:33 +00:00
|
|
|
struct log_info;
|
2011-08-17 10:46:48 +00:00
|
|
|
|
|
|
|
/*! \brief one instance of a logging target (file, stderr, ...) */
|
2011-05-12 11:46:33 +00:00
|
|
|
struct log_target;
|
|
|
|
|
2011-08-17 10:46:48 +00:00
|
|
|
/*! \brief the default logging target, logging to stderr */
|
2011-05-12 11:46:33 +00:00
|
|
|
extern struct log_target *osmo_stderr_target;
|
|
|
|
|
|
|
|
void osmo_init_ignore_signals(void);
|
|
|
|
int osmo_init_logging(const struct log_info *);
|
|
|
|
|
2011-06-26 11:07:18 +00:00
|
|
|
int osmo_daemonize(void);
|