aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdline.h')
-rw-r--r--src/cmdline.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/cmdline.h b/src/cmdline.h
index 673701055..945868b8c 100644
--- a/src/cmdline.h
+++ b/src/cmdline.h
@@ -22,14 +22,17 @@
#include <glib.h>
-typedef struct _Options {
+#include <stdbool.h>
+
+struct options {
gboolean kill;
gboolean daemon;
- gboolean stdOutput;
+ gboolean log_stderr;
gboolean verbose;
- int createDB;
-} Options;
+};
-void parseOptions(int argc, char **argv, Options *options);
+bool
+parse_cmdline(int argc, char **argv, struct options *options,
+ GError **error_r);
#endif