projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opkg: add header guards to libopkg/opkg.h
[oweals/opkg-lede.git]
/
libopkg
/
opkg_message.h
diff --git
a/libopkg/opkg_message.h
b/libopkg/opkg_message.h
index 86f895b5329915396a579d47ef86604329ff5c78..fc6920c3771c021d48873128124a115f4f8654b8 100644
(file)
--- a/
libopkg/opkg_message.h
+++ b/
libopkg/opkg_message.h
@@
-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>
Copyright (C) 2003 Daniele Nicolodi <daniele@grinta.net>
@@
-16,7
+16,6
@@
#ifndef _OPKG_MESSAGE_H_
#define _OPKG_MESSAGE_H_
#ifndef _OPKG_MESSAGE_H_
#define _OPKG_MESSAGE_H_
-#include "opkg.h"
#include "opkg_conf.h"
typedef enum {
#include "opkg_conf.h"
typedef enum {
@@
-27,6
+26,9
@@
typedef enum {
OPKG_DEBUG2, /* more debug level message */
} message_level_t;
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_ */
extern void opkg_message(opkg_conf_t *conf, message_level_t level, char *fmt, ...);
#endif /* _OPKG_MESSAGE_H_ */