aboutsummaryrefslogtreecommitdiff
path: root/src/args.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.h')
-rw-r--r--src/args.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/args.h b/src/args.h
index 79ea308..578eeb7 100644
--- a/src/args.h
+++ b/src/args.h
@@ -2,12 +2,15 @@
#define DEFAULT_CONFIG_PATH "/etc/pow/opts.lua"
-#define POW_FLAG_HELP 1
+#define POW_FLAG_HELP 0x01
+#define POW_FLAG_SYNC 0x02
+#define POW_FLAG_QUERY 0x04
typedef struct {
int flags;
char *cfg_path;
+ char *package;
} pow_args;
int pow_args_parse(int argc, char *argv[], pow_args *args);