4 * Copyright 2003, 2005 Develer S.r.l. (http://www.develer.com/)
5 * This file is part of DevLib - See README.devlib for information.
8 * \brief Definitions of constant string messages.
12 * \author Bernardo Innocenti <bernie@develer.com>
13 * \author Stefano Fedrigo <aleph@develer.com>
18 *#* Revision 1.1 2005/03/01 23:31:02 bernie
19 *#* String table and localization stuff.
29 // TODO: add your labels here.
35 #define MSG_BUFSIZE 6144 /* FIXME: how much? */
38 extern const char *msg_strings[MSG_COUNT];
39 /* extern char msg_buf[MSG_BUFSIZE]; */
42 /* Macros to access translated messages */
43 #define MSG(x) msg_strings[x]
44 #define PTRMSG(x) ((unsigned int)(x) < 256 ? msg_strings[(unsigned int)(x)] : (const char *)(x))
47 #endif /* MWARE_MSG_H */