summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/application.h
blob: 34571698afa5ed2987b6bea91cae320c6955090a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef OSMO_APPLICATION_H
#define OSMO_APPLICATION_H

/*!
 * \file application.h
 * \brief Routines for helping with the osmocom application setup.
 */

/*! \brief information containing the available logging subsystems */
struct log_info;

/*! \brief one instance of a logging target (file, stderr, ...) */
struct log_target;

/*! \brief the default logging target, logging to stderr */
extern struct log_target *osmo_stderr_target;

void osmo_init_ignore_signals(void);
int osmo_init_logging(const struct log_info *);

int osmo_daemonize(void);

#endif