summaryrefslogtreecommitdiff
path: root/src/gmutil.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-24 13:19:38 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-24 13:19:38 +0300
commit0f0b4250ca460d58edb61cc0dd509ba1980c3272 (patch)
treee8e9be30b2ec7942c4796cf93cbbd42e0c272e6a /src/gmutil.h
parentdd73346aad190239ed133d0c4835dbaa05d1b0cd (diff)
Added GmRequest for handling the request
This feels a little bit too complex, with GmRequest observing TlsRequest and then notifying its own audience. There are still some issues with cancelling requests as well.
Diffstat (limited to 'src/gmutil.h')
-rw-r--r--src/gmutil.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gmutil.h b/src/gmutil.h
new file mode 100644
index 00000000..264ad8a8
--- /dev/null
+++ b/src/gmutil.h
@@ -0,0 +1,16 @@
1#pragma once
2
3#include <the_Foundation/range.h>
4#include <the_Foundation/string.h>
5
6iDeclareType(Url)
7
8struct Impl_Url {
9 iRangecc protocol;
10 iRangecc host;
11 iRangecc port;
12 iRangecc path;
13 iRangecc query;
14};
15
16void init_Url(iUrl *d, const iString *text);