diff --git a/src/common/util/nrmessage_struct.h b/src/common/util/nrmessage_struct.h new file mode 100644 index 000000000..ac14bef82 --- /dev/null +++ b/src/common/util/nrmessage_struct.h @@ -0,0 +1,20 @@ +#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 { + const struct message_type * mtype; + const struct locale * lang; + const char * string; + const char * vars; + struct nrmessage_type * next; + int level; + const char * section; +} nrmessage_type; + +extern nrmessage_type * get_nrmessagetypes(void); + +#endif