From 5ea4498c28b456ade17a92bc9aab85de9502ba00 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 25 Aug 2010 19:25:37 +0200 Subject: add header file for osmo_daemonize() --- include/osmocore/Makefile.am | 2 +- include/osmocore/process.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 include/osmocore/process.h (limited to 'include') diff --git a/include/osmocore/Makefile.am b/include/osmocore/Makefile.am index ecdc65c9..c8b614f6 100644 --- a/include/osmocore/Makefile.am +++ b/include/osmocore/Makefile.am @@ -2,7 +2,7 @@ osmocore_HEADERS = signal.h linuxlist.h timer.h select.h msgb.h \ tlv.h bitvec.h comp128.h statistics.h gsm_utils.h utils.h \ gsmtap.h write_queue.h rsl.h gsm48.h rxlev_stat.h mncc.h \ gsm48_ie.h logging.h gsm0808.h rate_ctr.h gsmtap_util.h \ - plugin.h crc16.h panic.h + plugin.h crc16.h panic.h process.h if ENABLE_TALLOC osmocore_HEADERS += talloc.h diff --git a/include/osmocore/process.h b/include/osmocore/process.h new file mode 100644 index 00000000..2d663828 --- /dev/null +++ b/include/osmocore/process.h @@ -0,0 +1,6 @@ +#ifndef _OSMO_PROCESS_H +#define _OSMO_PROCESS_H + +int osmo_daemonize(void); + +#endif -- cgit v1.2.3