summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-09-21 13:42:29 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-09 17:18:17 +0200
commit1925ce32f7c1dc226be31d4301a0a1dbb2448baa (patch)
treebf04e6090f6a19ff562e97d93544d488cf36ccf2 /src/util/util.h
parent25072dd5274f07255cdc930f6257c4cbf74692de (diff)
downloadsssd-1925ce32f7c1dc226be31d4301a0a1dbb2448baa.tar.gz
sssd-1925ce32f7c1dc226be31d4301a0a1dbb2448baa.tar.xz
sssd-1925ce32f7c1dc226be31d4301a0a1dbb2448baa.zip
UTIL: Do not depend on monitor code
Just moves code around. There should be a way to use the server.c module without linking the monitor code. Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index df82b3fa4..482a660e7 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -237,6 +237,8 @@ struct main_context {
pid_t parent_pid;
};
+errno_t server_common_rotate_logs(struct confdb_ctx *confdb,
+ const char *conf_entry);
int die_if_parent_died(void);
int pidfile(const char *path, const char *name);
int server_setup(const char *name, int flags,