server/src/util/nrmessage_struct.h

21 lines
517 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef CLASS_NRMESSAGE_STRUCT
#define CLASS_NRMESSAGE_STRUCT
/* This file should not be included by anything in the server. If you
* feel that you need to include it, it's a sure sign that you're trying to
* do something BAD. */
typedef struct nrmessage_type {
2011-03-07 08:02:35 +01:00
const struct message_type *mtype;
const struct locale *lang;
const char *string;
const char *vars;
struct nrmessage_type *next;
int level;
const char *section;
2010-08-08 10:06:34 +02:00
} nrmessage_type;
2011-03-07 08:02:35 +01:00
extern nrmessage_type *get_nrmessagetypes(void);
2010-08-08 10:06:34 +02:00
#endif