diff options
Diffstat (limited to 'src/gmutil.h')
-rw-r--r-- | src/gmutil.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gmutil.h b/src/gmutil.h index d0ed4581..8dda84d0 100644 --- a/src/gmutil.h +++ b/src/gmutil.h | |||
@@ -3,7 +3,8 @@ | |||
3 | #include <the_Foundation/range.h> | 3 | #include <the_Foundation/range.h> |
4 | #include <the_Foundation/string.h> | 4 | #include <the_Foundation/string.h> |
5 | 5 | ||
6 | iDeclareType(GmError) iDeclareType(Url) | 6 | iDeclareType(GmError) |
7 | iDeclareType(Url) | ||
7 | 8 | ||
8 | /* Response status codes. */ | 9 | /* Response status codes. */ |
9 | enum iGmStatusCode { | 10 | enum iGmStatusCode { |
@@ -14,6 +15,7 @@ enum iGmStatusCode { | |||
14 | unsupportedMimeType_GmStatusCode, | 15 | unsupportedMimeType_GmStatusCode, |
15 | failedToOpenFile_GmStatusCode, | 16 | failedToOpenFile_GmStatusCode, |
16 | unknownStatusCode_GmStatusCode, | 17 | unknownStatusCode_GmStatusCode, |
18 | invalidLocalResource_GmStatusCode, | ||
17 | none_GmStatusCode = 0, | 19 | none_GmStatusCode = 0, |
18 | /* general status code categories */ | 20 | /* general status code categories */ |
19 | categoryInput_GmStatusCode = 1, | 21 | categoryInput_GmStatusCode = 1, |
@@ -70,4 +72,5 @@ void init_Url (iUrl *, const iString *text); | |||
70 | 72 | ||
71 | iRangecc urlHost_String (const iString *); | 73 | iRangecc urlHost_String (const iString *); |
72 | const iString * absoluteUrl_String (const iString *, const iString *urlMaybeRelative); | 74 | const iString * absoluteUrl_String (const iString *, const iString *urlMaybeRelative); |
75 | iString * makeFileUrl_String (const iString *localFilePath); | ||
73 | void urlEncodeSpaces_String (iString *); | 76 | void urlEncodeSpaces_String (iString *); |