opkg: 's/itsy/opkg/'
[oweals/opkg-lede.git] / libopkg / opkg_message.h
index 86f895b5329915396a579d47ef86604329ff5c78..fc6920c3771c021d48873128124a115f4f8654b8 100644 (file)
@@ -1,4 +1,4 @@
-/* opkg_message.h - the itsy package management system
+/* opkg_message.h - the opkg package management system
 
    Copyright (C) 2003 Daniele Nicolodi <daniele@grinta.net>
 
@@ -16,7 +16,6 @@
 #ifndef _OPKG_MESSAGE_H_
 #define _OPKG_MESSAGE_H_
 
-#include "opkg.h"
 #include "opkg_conf.h"
 
 typedef enum {
@@ -27,6 +26,9 @@ typedef enum {
      OPKG_DEBUG2,      /* more debug level message */
 } message_level_t;
 
+typedef int (*opkg_message_callback)(opkg_conf_t *conf, message_level_t level, 
+       char *msg);
+
 extern void opkg_message(opkg_conf_t *conf, message_level_t level, char *fmt, ...);
 
 #endif /* _OPKG_MESSAGE_H_ */