[gmime] Renamed g_mime_utils_header_value_unfold to g_mime_utils_header_unfold
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Renamed g_mime_utils_header_value_unfold to g_mime_utils_header_unfold
- Date: Sun, 3 Dec 2017 21:37:49 +0000 (UTC)
commit 37b4371e1701e979b35773af48d92169f9e935ee
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date: Thu Nov 30 21:41:23 2017 -0500
Renamed g_mime_utils_header_value_unfold to g_mime_utils_header_unfold
docs/reference/gmime-sections.txt | 1 +
gmime/gmime-header.c | 2 +-
gmime/gmime-utils.c | 4 ++--
gmime/gmime-utils.h | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/gmime-sections.txt b/docs/reference/gmime-sections.txt
index 2f0825e..796dff8 100644
--- a/docs/reference/gmime-sections.txt
+++ b/docs/reference/gmime-sections.txt
@@ -1124,6 +1124,7 @@ g_mime_utils_header_decode_phrase
g_mime_utils_header_encode_phrase
g_mime_utils_structured_header_fold
g_mime_utils_unstructured_header_fold
+g_mime_utils_header_unfold
</SECTION>
<SECTION>
diff --git a/gmime/gmime-header.c b/gmime/gmime-header.c
index bf0c368..0c42610 100644
--- a/gmime/gmime-header.c
+++ b/gmime/gmime-header.c
@@ -230,7 +230,7 @@ g_mime_header_get_value (GMimeHeader *header)
g_return_val_if_fail (GMIME_IS_HEADER (header), NULL);
if (!header->value && header->raw_value) {
- buf = g_mime_utils_header_value_unfold (header->raw_value);
+ buf = g_mime_utils_header_unfold (header->raw_value);
header->value = g_mime_utils_header_decode_text (header->options, buf);
g_free (buf);
}
diff --git a/gmime/gmime-utils.c b/gmime/gmime-utils.c
index 0849cea..4dbc371 100644
--- a/gmime/gmime-utils.c
+++ b/gmime/gmime-utils.c
@@ -2757,7 +2757,7 @@ g_mime_utils_header_printf (GMimeParserOptions *options, GMimeFormatOptions *for
/**
- * g_mime_utils_header_value_unfold:
+ * g_mime_utils_header_unfold:
* @value: raw header value
*
* Unfolds a raw header value according to the rules in rfc822.
@@ -2765,7 +2765,7 @@ g_mime_utils_header_printf (GMimeParserOptions *options, GMimeFormatOptions *for
* Returns: an allocated string containing the unfolded header value.
**/
char *
-g_mime_utils_header_value_unfold (const char *value)
+g_mime_utils_header_unfold (const char *value)
{
register const char *inptr = value;
const char *start, *inend;
diff --git a/gmime/gmime-utils.h b/gmime/gmime-utils.h
index 95204e6..ab9df5c 100644
--- a/gmime/gmime-utils.h
+++ b/gmime/gmime-utils.h
@@ -42,7 +42,7 @@ char *g_mime_utils_decode_message_id (const char *message_id);
char *g_mime_utils_structured_header_fold (GMimeParserOptions *options, GMimeFormatOptions *format, const
char *header);
char *g_mime_utils_unstructured_header_fold (GMimeParserOptions *options, GMimeFormatOptions *format, const
char *header);
char *g_mime_utils_header_printf (GMimeParserOptions *options, GMimeFormatOptions *format, const char
*text, ...) G_GNUC_PRINTF (3, 4);
-char *g_mime_utils_header_value_unfold (const char *value);
+char *g_mime_utils_header_unfold (const char *value);
char *g_mime_utils_quote_string (const char *str);
void g_mime_utils_unquote_string (char *str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]