server/src/util/nrmessage.h

29 lines
585 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef H_UTIL_NRMESSAGE
#define H_UTIL_NRMESSAGE
#include <stddef.h>
2018-05-16 21:58:02 +02:00
#include <stdio.h>
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
extern "C" {
#endif
struct locale;
struct message;
struct message_type;
struct nrmessage_type;
void free_nrmesssages(void);
void nrt_register(const struct message_type *mtype);
2018-05-18 02:46:34 +02:00
const char *nrt_string(const struct message_type *mtype,
const struct locale *lang);
size_t nr_render(const struct message *msg, const struct locale *lang,
char *buffer, size_t size, const void *userdata);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif