diff options
| author | Vincent Richard <[email protected]> | 2013-02-24 15:28:13 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2013-02-24 15:28:13 +0000 |
| commit | 0c5d4a10e6f616f5a63787b8fbda86ec9fc487a9 (patch) | |
| tree | c04b535bffeeba3e95adae01b961740bdc3a938e /src/mailboxField.cpp | |
| parent | Fixed filename case. (diff) | |
| download | vmime-0c5d4a10e6f616f5a63787b8fbda86ec9fc487a9.tar.gz vmime-0c5d4a10e6f616f5a63787b8fbda86ec9fc487a9.zip | |
Message generation/parsing context. Charset conversion options. Preliminary implementation of RFC-6532.
Diffstat (limited to 'src/mailboxField.cpp')
| -rw-r--r-- | src/mailboxField.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mailboxField.cpp b/src/mailboxField.cpp index c3c5214e..1f11f49c 100644 --- a/src/mailboxField.cpp +++ b/src/mailboxField.cpp @@ -43,15 +43,16 @@ mailboxField::mailboxField(const mailboxField&) } -void mailboxField::parse(const string& buffer, const string::size_type position, - const string::size_type end, string::size_type* newPosition) +void mailboxField::parse + (const parsingContext& ctx, const string& buffer, const string::size_type position, + const string::size_type end, string::size_type* newPosition) { ref <mailbox> mbox = vmime::create <mailbox>(); // Here, we cannot simply call "m_mailbox.parse()" because it // may have more than one address specified (even if this field // should contain only one). We are never too much careful... - ref <address> parsedAddress = address::parseNext(buffer, position, end, newPosition); + ref <address> parsedAddress = address::parseNext(ctx, buffer, position, end, newPosition); if (parsedAddress) { |
