summaryrefslogtreecommitdiff
path: root/src/pacman/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/conf.h')
-rw-r--r--src/pacman/conf.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pacman/conf.h b/src/pacman/conf.h
index 49758418..74d83e69 100644
--- a/src/pacman/conf.h
+++ b/src/pacman/conf.h
@@ -63,6 +63,17 @@ typedef struct __config_t {
unsigned short showsize; /* show individual package sizes */
} config_t;
+/* Operations */
+enum {
+ PM_OP_MAIN = 1,
+ PM_OP_ADD,
+ PM_OP_REMOVE,
+ PM_OP_UPGRADE,
+ PM_OP_QUERY,
+ PM_OP_SYNC,
+ PM_OP_DEPTEST
+};
+
config_t *config_new(void);
int config_free(config_t *config);