]> git.tdb.fi Git - libs/net.git/blob - source/misc.h
Initial revision
[libs/net.git] / source / misc.h
1 /* $Id$
2
3 This file is part of libmsphttp
4 Copyright © 2008  Mikkosoft Productions, Mikko Rasa
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_HTTP_MISC_H_
9 #define MSP_HTTP_MISC_H_
10
11 #include <map>
12 #include <string>
13
14 namespace Msp {
15 namespace Http {
16
17 typedef std::map<std::string, std::string> HeaderMap;
18 typedef unsigned Version;
19
20 Version parse_version(const std::string &);
21 std::string version_str(Version);
22
23 } // namespace Http
24 } // namespace Msp
25
26 #endif