/* $Id$ */
+/** we need _GNU_SOURCE for various functions arround the NLS-Stuff */
+#define _GNU_SOURCE
+
+
#include <ctype.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <iconv.h>
#endif
-#include "gettext.h"
-
-#if ENABLE_NLS
+#ifdef ENABLE_NLS
+#include <libintl.h>
#include <locale.h>
+extern locale_t wc_locales[];
#define _(string) gettext(string)
#else
#define _(string) (string)
void CtdlEncodeBase64(char *dest, const char *source, size_t sourcelen);
int CtdlDecodeBase64(char *dest, const char *source, size_t length);
void free_attachments(struct wcsession *sess);
+void free_march_list(struct wcsession *wcf);
void set_room_policy(void);
void display_inetconf(void);
void save_inetconf(void);
void str_wiki_index(char *s);
void display_wiki_page(void);
+#ifdef HAVE_ICONV
+iconv_t ctdl_iconv_open(const char *tocode, const char *fromcode);
+#endif
+
void embed_room_banner(char *, int);
/* navbar types that can be passed to embed_room_banner */