summaryrefslogtreecommitdiff
path: root/src/tools/tools_util.h
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2012-09-10 18:16:26 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-09-24 13:09:53 +0200
commit7c2e91ac48b20e6699d5c98c9912ea6427453c95 (patch)
treec5a56be85cb085fd97b346bbd3fd590a53937aa6 /src/tools/tools_util.h
parent1241d9f9daa17ef245c39f69dad4fd100367d299 (diff)
downloadsssd-7c2e91ac48b20e6699d5c98c9912ea6427453c95.tar.gz
sssd-7c2e91ac48b20e6699d5c98c9912ea6427453c95.tar.bz2
sssd-7c2e91ac48b20e6699d5c98c9912ea6427453c95.zip
tools_util.h provides signal_sssd function.
Diffstat (limited to 'src/tools/tools_util.h')
-rw-r--r--src/tools/tools_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h
index fd26b890..1be17e8e 100644
--- a/src/tools/tools_util.h
+++ b/src/tools/tools_util.h
@@ -27,6 +27,9 @@
#include "util/util.h"
+#define SSSD_PIDFILE ""PID_PATH"/sssd.pid"
+#define MAX_PID_LENGTH 10
+
#define BAD_POPT_PARAMS(pc, msg, val, label) do { \
usage(pc, msg); \
val = EXIT_FAILURE; \
@@ -99,6 +102,8 @@ int remove_homedir(TALLOC_CTX *mem_ctx,
int run_userdel_cmd(struct tools_ctx *tctx);
+errno_t signal_sssd(int signum);
+
/* from files.c */
int remove_tree(const char *root);