summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/opkg_conf.h')
-rw-r--r--libopkg/opkg_conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h
index 67b660f..52498f5 100644
--- a/libopkg/opkg_conf.h
+++ b/libopkg/opkg_conf.h
@@ -57,6 +57,9 @@ struct opkg_conf
uint pfm; /* package field mask */
+ /* For libopkg users to capture messages. */
+ void (*opkg_vmessage)(int, const char *fmt, va_list ap);
+
/* options */
int autoremove;
int force_depends;