Vuo
2.4.4
Loading...
Searching...
No Matches
type
VuoUrl.h
Go to the documentation of this file.
1
10
#ifndef VuoUrl_h
11
#define VuoUrl_h
12
21
#ifdef __cplusplus
22
extern
"C"
23
{
24
#endif
25
26
#include "
VuoInteger.h
"
27
#include "
VuoText.h
"
28
32
typedef
VuoText
VuoUrl
;
33
34
#define VuoUrl_SUPPORTS_COMPARISON
35
36
VuoUrl
VuoUrl_makeFromJson
(
struct
json_object *js);
37
struct
json_object *
VuoUrl_getJson
(
const
VuoUrl
value);
38
char
*
VuoUrl_getSummary
(
const
VuoUrl
value);
39
bool
VuoUrl_getParts
(
const
VuoUrl
url,
VuoText
*scheme,
VuoText
*user,
VuoText
*host,
VuoInteger
*port,
VuoText
*path,
VuoText
*query,
VuoText
*fragment)
VuoWarnUnusedResult
;
40
bool
VuoUrl_getFileParts
(
const
VuoUrl
url,
VuoText
*path,
VuoText
*folder,
VuoText
*filename,
VuoText
*extension)
VuoWarnUnusedResult
;
41
42
bool
VuoUrl_areEqual
(
const
VuoText
a,
const
VuoText
b);
43
bool
VuoUrl_isLessThan
(
const
VuoText
a,
const
VuoText
b);
44
45
bool
VuoUrl_isRelativePath
(
const
VuoUrl
url);
46
50
enum
VuoUrlNormalizeFlags
{
51
VuoUrlNormalize_default
= 0x0,
52
VuoUrlNormalize_forSaving
= 0x1,
53
VuoUrlNormalize_assumeHttp
= 0x2,
54
VuoUrlNormalize_forLaunching
= 0x4,
55
};
56
VuoUrl
VuoUrl_normalize
(
const
VuoText
url,
enum
VuoUrlNormalizeFlags
flags);
57
58
VuoText
VuoUrl_getPosixPath
(
const
VuoUrl
url);
59
VuoText
VuoUrl_escapePosixPath
(
const
VuoText
posixPath);
60
VuoText
VuoUrl_escapeUTF8
(
const
VuoText
url);
61
bool
VuoUrl_isBundle
(
const
VuoUrl
url);
62
VuoUrl
VuoUrl_appendFileExtension
(
const
char
*filename,
struct
json_object *validExtensions);
63
VuoText
VuoUrl_decodeRFC3986
(
const
VuoUrl
url);
64
66
69
char
*
VuoUrl_getString
(
const
VuoUrl
value);
70
void
VuoUrl_retain
(
VuoUrl
value);
71
void
VuoUrl_release
(
VuoUrl
value);
73
78
#ifdef __cplusplus
79
}
80
#endif
81
82
#endif
Generated on Thu Nov 9 2023 16:59:30 for Vuo by
1.9.8