projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a message callback function to the config struct for libopkg users.
[oweals/opkg-lede.git]
/
libopkg
/
opkg_conf.h
diff --git
a/libopkg/opkg_conf.h
b/libopkg/opkg_conf.h
index 67b660fda5061fe1ab8799c4d9b249132ec82d89..52498f58eb15284fd10b1cb30a1b77ef51343792 100644
(file)
--- 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;