1 /* ipkg_message.h - the itsy package management system
3 Copyright (C) 2003 Daniele Nicolodi <daniele@grinta.net>
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License as
7 published by the Free Software Foundation; either version 2, or (at
8 your option) any later version.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
16 #ifndef _IPKG_MESSAGE_H_
17 #define _IPKG_MESSAGE_H_
20 #include "ipkg_conf.h"
23 IPKG_ERROR, /* error conditions */
24 IPKG_NOTICE, /* normal but significant condition */
25 IPKG_INFO, /* informational message */
26 IPKG_DEBUG, /* debug level message */
27 IPKG_DEBUG2, /* more debug level message */
30 extern void ipkg_message(ipkg_conf_t *conf, message_level_t level, char *fmt, ...);
32 #endif /* _IPKG_MESSAGE_H_ */