/* Internationalization related declarations.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of GNU Wget.
#else /* ENABLE_IRI */
-struct iri dummy_iri;
+extern struct iri dummy_iri;
-#define parse_charset(str) NULL
+#define parse_charset(str) (str, NULL)
#define find_locale() NULL
#define check_encoding_name(str) false
#define locale_to_utf8(str) (str)
#define idn_decode(str) NULL
#define remote_to_utf8(a,b,c) false
#define iri_new() (&dummy_iri)
+#define iri_dup(a) (&dummy_iri)
#define iri_free(a)
#define set_uri_encoding(a,b,c)
#define set_content_encoding(a,b)