From d721bae443fe020bf755d0440684a17b75de970f Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Mon, 14 Dec 2015 20:23:26 +1000 Subject: alpm-hooks: add Description field The "Description" field allows a hook to provide a some text for frontends to use in describing what the hook is doing. For example: Description = updating info page directory Signed-off-by: Allan McRae --- lib/libalpm/alpm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/alpm.h') diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 337104e0..fba25ab8 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -568,6 +568,8 @@ typedef struct _alpm_event_hook_run_t { alpm_event_type_t type; /** Name of hook */ const char *name; + /** Description of hook to be outputted */ + const char *desc; /** position of hook being run */ size_t position; /** total hooks being run */ -- cgit v1.2.3-24-g4f1b