summaryrefslogtreecommitdiff
path: root/tacplus-daemon/daemon.h
diff options
context:
space:
mode:
authorDaniel Gollub <dgollub@att.com>2019-11-11 15:07:38 +0100
committerVyatta Package Maintainers <DL-vyatta-help@att.com>2019-11-13 17:08:02 +0000
commit822c8f60b72cca97fb2c86db37835a60917d1c7e (patch)
treed5593a4ed1cbb8e9709411679974355a41f0289e /tacplus-daemon/daemon.h
downloadtacplusd-debian/1.19.tar.gz
tacplusd-debian/1.19.zip
Diffstat (limited to 'tacplus-daemon/daemon.h')
-rw-r--r--tacplus-daemon/daemon.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/tacplus-daemon/daemon.h b/tacplus-daemon/daemon.h
new file mode 100644
index 0000000..fe7a137
--- /dev/null
+++ b/tacplus-daemon/daemon.h
@@ -0,0 +1,20 @@
+/*
+ TACACS+ D-Bus Daemon code
+
+ Copyright (c) 2019 AT&T Intellectual Property.
+ Copyright (c) 2015-2016 Brocade Communications Systems, Inc.
+
+ SPDX-License-Identifier: GPL-2.0-only
+*/
+
+#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <syslog.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
+/* prototypes */
+extern void daemonize(const char *tacplus_pid);
+