summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-08-25 19:25:37 +0200
committerHarald Welte <laforge@gnumonks.org>2010-08-25 19:25:37 +0200
commit5ea4498c28b456ade17a92bc9aab85de9502ba00 (patch)
treefcbe8e0d18fd7c9e80d882bd0dbd25317ad64579
parentb6cb023c7b4a76fb3d5ca32dd0ffb8e94ac5f8a0 (diff)
add header file for osmo_daemonize()
-rw-r--r--include/osmocore/Makefile.am2
-rw-r--r--include/osmocore/process.h6
2 files changed, 7 insertions, 1 deletions
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