monotone

monotone Mtn Source Tree

Root/uri.hh

1#ifndef __URI_HH__
2#define __URI_HH__
3
4// Copyright (C) 2006 Graydon Hoare <graydon@pobox.com>
5//
6// This program is made available under the GNU GPL version 2.0 or
7// greater. See the accompanying file COPYING for details.
8//
9// This program is distributed WITHOUT ANY WARRANTY; without even the
10// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11// PURPOSE.
12
13
14struct uri
15{
16 std::string scheme;
17 std::string user;
18 std::string host;
19 std::string port;
20 std::string path;
21 std::string query;
22 std::string fragment;
23};
24
25bool
26parse_uri(std::string const & in, uri & out);
27
28// Local Variables:
29// mode: C++
30// fill-column: 76
31// c-file-style: "gnu"
32// indent-tabs-mode: nil
33// End:
34// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:
35
36#endif

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status