]> git.tdb.fi Git - libs/net.git/blobdiff - source/misc.h
Initial revision
[libs/net.git] / source / misc.h
diff --git a/source/misc.h b/source/misc.h
new file mode 100644 (file)
index 0000000..8e7ed79
--- /dev/null
@@ -0,0 +1,26 @@
+/* $Id$
+
+This file is part of libmsphttp
+Copyright © 2008  Mikkosoft Productions, Mikko Rasa
+Distributed under the LGPL
+*/
+
+#ifndef MSP_HTTP_MISC_H_
+#define MSP_HTTP_MISC_H_
+
+#include <map>
+#include <string>
+
+namespace Msp {
+namespace Http {
+
+typedef std::map<std::string, std::string> HeaderMap;
+typedef unsigned Version;
+
+Version parse_version(const std::string &);
+std::string version_str(Version);
+
+} // namespace Http
+} // namespace Msp
+
+#endif