summaryrefslogtreecommitdiff
path: root/src/gmutil.h
blob: 41711af7bdc8e4fc60388f7b10223b2544d4994b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <the_Foundation/range.h>
#include <the_Foundation/string.h>

iDeclareType(Url)

struct Impl_Url {
    iRangecc protocol;
    iRangecc host;
    iRangecc port;
    iRangecc path;
    iRangecc query;
};

void    init_Url    (iUrl *, const iString *text);

void    urlEncodeSpaces_String  (iString *);