diff options
author | Max Kellermann <max@duempel.org> | 2008-12-27 19:35:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-12-27 19:35:30 +0100 |
commit | 357712c8f31ad93e6888568dbe9ea06cf93bdd8e (patch) | |
tree | ed536cf920b945a4aa82cd7d102d51d1494a8796 /src/cmdline.h | |
parent | 786bb8cc33e4a9dc20cb7f1eb50beff6cddc5590 (diff) | |
download | mpd-357712c8f31ad93e6888568dbe9ea06cf93bdd8e.tar.gz mpd-357712c8f31ad93e6888568dbe9ea06cf93bdd8e.tar.xz mpd-357712c8f31ad93e6888568dbe9ea06cf93bdd8e.zip |
cmdline: use gboolean instead of int
Prepare for the migration to the GLib option parser, which uses
gboolean for flags.
Diffstat (limited to 'src/cmdline.h')
-rw-r--r-- | src/cmdline.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cmdline.h b/src/cmdline.h index 22b24901b..295cdec81 100644 --- a/src/cmdline.h +++ b/src/cmdline.h @@ -19,12 +19,14 @@ #ifndef CMDLINE_H #define CMDLINE_H +#include <glib.h> + typedef struct _Options { - int kill; - int daemon; - int stdOutput; + gboolean kill; + gboolean daemon; + gboolean stdOutput; + gboolean verbose; int createDB; - int verbose; } Options; void parseOptions(int argc, char **argv, Options *options); |