libosmocore 0.9.6-23.20170220git32ee5af8.fc42
Osmocom core library
Loading...
Searching...
No Matches
application.h
Go to the documentation of this file.
1#pragma once
2
9struct log_info;
10
12struct log_target;
13
15extern struct log_target *osmo_stderr_target;
16
18int osmo_init_logging(const struct log_info *);
19
20int osmo_daemonize(void);
struct log_target * osmo_stderr_target
the default logging target, logging to stderr
Definition application.c:73
void osmo_init_ignore_signals(void)
Ignore SIGPIPE, SIGALRM, SIGHUP and SIGIO.
Definition application.c:81
int osmo_init_logging(const struct log_info *)
Initialize the osmocom logging framework.
Definition application.c:103
int osmo_daemonize(void)
Turn the current process into a background daemon.
Definition application.c:120
Logging configuration, passed to log_init.
Definition logging.h:148
structure representing a logging target
Definition logging.h:176