[gmime: 2/21] Reorganized GMimeParser members
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime: 2/21] Reorganized GMimeParser members
- Date: Sun, 26 Mar 2017 19:40:48 +0000 (UTC)
commit 21ac8d4b282d3e5dbe0d159bcb759fe68715ab40
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date: Tue Mar 21 20:05:57 2017 -0400
Reorganized GMimeParser members
gmime/gmime-parser.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/gmime/gmime-parser.c b/gmime/gmime-parser.c
index 2649aa3..5d0b535 100644
--- a/gmime/gmime-parser.c
+++ b/gmime/gmime-parser.c
@@ -168,6 +168,17 @@ struct _GMimeParserPrivate {
GByteArray *marker;
gint64 marker_offset;
+ /* current message headerblock offsets */
+ gint64 message_headers_begin;
+ gint64 message_headers_end;
+
+ /* current mime-part headerblock offsets */
+ gint64 headers_begin;
+ gint64 headers_end;
+
+ /* current header field offset */
+ gint64 header_offset;
+
GPtrArray *headers;
/* header buffer */
@@ -180,16 +191,7 @@ struct _GMimeParserPrivate {
char *rawptr;
size_t rawleft;
- /* current message headerblock offsets */
- gint64 message_headers_begin;
- gint64 message_headers_end;
-
- /* current mime-part headerblock offsets */
- gint64 headers_begin;
- gint64 headers_end;
-
- /* current header field offset */
- gint64 header_offset;
+ BoundaryStack *bounds;
short int state;
@@ -200,8 +202,6 @@ struct _GMimeParserPrivate {
unsigned short int respect_content_length:1;
unsigned short int openpgp:4;
unsigned short int unused:7;
-
- BoundaryStack *bounds;
};
static const char MBOX_BOUNDARY[6] = "From ";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]