* format.h: Likewise.
* message.h: Likewise.
* msgl-ascii.h: Likewise.
+ * msgl-cat.h: Likewise.
+ * msgl-charset.h: Likewise.
+ * msgl-english.h: Likewise.
+ * msgl-equal.h: Likewise.
* msgl-iconv.h: Likewise.
* open-po.h: Likewise.
* po-charset.h: Likewise.
+ * po-lex.h: Likewise.
* po-time.h: Likewise.
* read-po-abstract.h: Likewise.
* str-list.h: Likewise.
* write-po.h: Likewise.
* xgettext.h: Likewise.
+ * read-po.h: Likewise.
+ (this): Redefine to a different symbol.
* xgettext.c: Add extern "C" around all "x-*.h" includes.
2003-08-22 Bruno Haible <bruno@clisp.org>
/* Message list concatenation and duplicate handling.
- Copyright (C) 2001-2002 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#ifndef _MSGL_CAT_H
#define _MSGL_CAT_H
+#include <stdbool.h>
+
#include "message.h"
#include "str-list.h"
-#include <stdbool.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* These variables control which messages are selected. */
extern int more_than;
catenate_msgdomain_list (string_list_ty *file_list,
const char *to_code);
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _MSGL_CAT_H */
/* Message list charset and locale charset handling.
- Copyright (C) 2001-2002 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#include "message.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
extern void
compare_po_locale_charsets (const msgdomain_list_ty *mdlp);
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _MSGL_CHARSET_H */
/* Message translation initialization for English.
- Copyright (C) 2001-2002 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#include "message.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
extern msgdomain_list_ty *
msgdomain_list_english (msgdomain_list_ty *mdlp);
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _MSGL_ENGLISH_H */
/* Message list test for equality.
- Copyright (C) 2001-2002 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#ifndef _MSGL_EQUAL_H
#define _MSGL_EQUAL_H
+#include <stdbool.h>
+
#include "message.h"
-#include <stdbool.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern bool
string_list_equal (const string_list_ty *slp1,
const msgdomain_list_ty *mdlp2,
bool ignore_potcdate);
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _MSGL_EQUAL_H */
#include "pos.h"
#include "xerror.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* Lexical analyzer for reading PO files. */
size_t msgstr_len;
};
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif
/* Reading PO files.
- Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
+ Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>.
This program is free software; you can redistribute it and/or modify
#include <stdbool.h>
#include <stdio.h>
+
+/* For including this file in C++ mode. */
+#ifdef __cplusplus
+# define this thiss
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* The following pair of structures cooperate to create a derived class from
class abstract_po_reader_ty. (See read-po-abstract.h for an explanation.)
It implements the default behaviour of reading a PO file and converting it
a list of messages. */
extern msgdomain_list_ty *read_po_file (const char *input_name);
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _READ_PO_H */