#include "linden_common.h"
#include "llmime.h"
#include <vector>
#include "llmemorystream.h"
Include dependency graph for llmime.cpp:
Go to the source code of this file.
Classes | |
class | LLMimeIndex::Impl |
Implementation details of the mime index class. More... | |
class | LLMimeParser::Impl |
Implementation details of the mime parser class. More... | |
Functions | |
static const std::string | CONTENT_LENGTH ("Content-Length") |
static const std::string | CONTENT_TYPE ("Content-Type") |
static const std::string | MULTIPART ("multipart") |
static const std::string | BOUNDARY ("boundary") |
static const std::string | END_OF_CONTENT_PARAMETER ("\r\n ;\t") |
static const std::string | SEPARATOR_PREFIX ("--") |
Variables | |
static const S32 | KNOWN_HEADER_COUNT = 6 |
static const std::string | KNOWN_HEADER [KNOWN_HEADER_COUNT] |
Copyright (c) 2006-2007, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llmime.cpp.
static const std::string BOUNDARY | ( | "boundary" | ) | [static] |
Referenced by LLMimeParser::Impl::findSeparator().
static const std::string CONTENT_LENGTH | ( | "Content-Length" | ) | [static] |
Useful constants.
Referenced by LLMimeIndex::contentLength(), and LLMimeParser::Impl::scanPastContent().
static const std::string CONTENT_TYPE | ( | "Content-Type" | ) | [static] |
Referenced by LLMimeIndex::contentType(), LLMimeIndex::isMultipart(), and LLMimeParser::Impl::parseIndex().
Referenced by LLMimeParser::Impl::findSeparator().
static const std::string MULTIPART | ( | "multipart" | ) | [static] |
Referenced by LLMimeIndex::isMultipart().
static const std::string SEPARATOR_PREFIX | ( | "--" | ) | [static] |
Referenced by LLMimeParser::Impl::scanPastSeparator().
const std::string KNOWN_HEADER[KNOWN_HEADER_COUNT] [static] |
Initial value:
{ CONTENT_LENGTH, CONTENT_TYPE, std::string("MIME-Version"), std::string("Content-Transfer-Encoding"), std::string("Content-ID"), std::string("Content-Description"), }
Definition at line 48 of file llmime.cpp.
Referenced by LLMimeParser::Impl::parseHeaders().
const S32 KNOWN_HEADER_COUNT = 6 [static] |