summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 96da8db0..bf726fc2 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -348,7 +348,10 @@ typedef enum _alpm_event_t {
/** Disk space usage will be computed for a package */
ALPM_EVENT_DISKSPACE_START,
/** Disk space usage was computed for a package */
- ALPM_EVENT_DISKSPACE_DONE
+ ALPM_EVENT_DISKSPACE_DONE,
+ /** An optdepend for another package is being removed
+ * The requiring package and its dependency are passed to the callback */
+ ALPM_EVENT_OPTDEP_REQUIRED
} alpm_event_t;
/** Event callback */