summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gettext-tools/libgettextpo/ChangeLog7
-rw-r--r--gettext-tools/libgettextpo/gettext-po.h.in22
2 files changed, 29 insertions, 0 deletions
diff --git a/gettext-tools/libgettextpo/ChangeLog b/gettext-tools/libgettextpo/ChangeLog
index a050f11..0cbb536 100644
--- a/gettext-tools/libgettextpo/ChangeLog
+++ b/gettext-tools/libgettextpo/ChangeLog
@@ -1,3 +1,10 @@
+2006-10-29 Bruno Haible <bruno@clisp.org>
+
+ * gettext-po.h.in (po_message_prev_msgctxt, po_message_set_prev_msgctxt,
+ po_message_prev_msgid, po_message_set_prev_msgid,
+ po_message_prev_msgid_plural, po_message_set_prev_msgid_plural): New
+ declarations.
+
2006-10-28 Bruno Haible <bruno@clisp.org>
Fix for parallel makes.
diff --git a/gettext-tools/libgettextpo/gettext-po.h.in b/gettext-tools/libgettextpo/gettext-po.h.in
index 90bab2b..b365585 100644
--- a/gettext-tools/libgettextpo/gettext-po.h.in
+++ b/gettext-tools/libgettextpo/gettext-po.h.in
@@ -261,6 +261,28 @@ extern void po_message_remove_filepos (po_message_t message, int i);
line number is available. */
extern void po_message_add_filepos (po_message_t message, const char *file, size_t start_line);
+/* Return the previous context of a message, or NULL for none. */
+extern const char * po_message_prev_msgctxt (po_message_t message);
+
+/* Change the previous context of a message. NULL is allowed. */
+extern void po_message_set_prev_msgctxt (po_message_t message, const char *prev_msgctxt);
+
+/* Return the previous msgid (untranslated English string) of a message, or
+ NULL for none. */
+extern const char * po_message_prev_msgid (po_message_t message);
+
+/* Change the previous msgid (untranslated English string) of a message.
+ NULL is allowed. */
+extern void po_message_set_prev_msgid (po_message_t message, const char *prev_msgid);
+
+/* Return the previous msgid_plural (untranslated English plural string) of a
+ message, or NULL for none. */
+extern const char * po_message_prev_msgid_plural (po_message_t message);
+
+/* Change the previous msgid_plural (untranslated English plural string) of a
+ message. NULL is allowed. */
+extern void po_message_set_prev_msgid_plural (po_message_t message, const char *prev_msgid_plural);
+
/* Return true if the message is marked obsolete. */
extern int po_message_is_obsolete (po_message_t message);