summaryrefslogtreecommitdiff
path: root/tacplus-daemon/daemon.h
diff options
context:
space:
mode:
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);
+