summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-19 00:22:34 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-19 00:22:34 +0100
commita66d02c3290008d50b2b52f84cfbf46a546ba831 (patch)
treeba2c64f260e8a256c93f5b722dc926d2343b15ca /manager.h
parent4609154d5513108478f603ff1589e486c001daa9 (diff)
add functions for dumping server state
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/manager.h b/manager.h
index 64c4c9d14c..c08f3ccde5 100644
--- a/manager.h
+++ b/manager.h
@@ -5,6 +5,7 @@
#include <stdbool.h>
#include <inttypes.h>
+#include <stdio.h>
typedef struct Manager Manager;
@@ -44,4 +45,7 @@ Name *manager_get_name(Manager *m, const char *name);
int manager_load_name(Manager *m, const char *name, Name **_ret);
int manager_add_job(Manager *m, JobType job, Name *name, JobMode mode, Job **_ret);
+void manager_dump_names(Manager *s, FILE *f);
+void manager_dump_jobs(Manager *s, FILE *f);
+
#endif