File: application.h

package info (click to toggle)
libosmocore 1.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,796 kB
  • sloc: ansic: 125,901; python: 2,193; makefile: 1,769; sh: 529; exp: 63; xml: 19
file content (21 lines) | stat: -rw-r--r-- 535 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <osmocom/core/defs.h>

struct log_info;
struct log_target;

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

/*! 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 *)
	OSMO_DEPRECATED("use osmo_init_logging2() instead to avoid a NULL talloc ctx");
int osmo_init_logging2(void *ctx, const struct log_info *log_info);

int osmo_daemonize(void);