76 cxstring util_url_base_s(cxstring url); |
76 cxstring util_url_base_s(cxstring url); |
77 const char* util_url_path(const char *url); |
77 const char* util_url_path(const char *url); |
78 cxstring util_url_path_s(cxstring url); |
78 cxstring util_url_path_s(cxstring url); |
79 char* util_url_decode(DavSession *sn, const char *url); |
79 char* util_url_decode(DavSession *sn, const char *url); |
80 const char* util_resource_name(const char *url); |
80 const char* util_resource_name(const char *url); |
|
81 const char* util_resource_name_c(const char *url, char pathseparator); |
|
82 const char* util_path_file_name(const char *url); |
|
83 |
81 char* util_concat_path(const char *url_base, const char *path); |
84 char* util_concat_path(const char *url_base, const char *path); |
82 cxmutstr util_concat_path_s(cxstring url_base, cxstring path); |
85 cxmutstr util_concat_path_s(cxstring url_base, cxstring path); |
|
86 cxmutstr util_concat_path_ext(cxstring url_base, cxstring path, char separator); |
|
87 cxmutstr util_concat_sys_path(cxstring base, cxstring path); |
83 char* util_get_url(DavSession *sn, const char *href); |
88 char* util_get_url(DavSession *sn, const char *href); |
84 void util_set_url(DavSession *sn, const char *href); |
89 void util_set_url(DavSession *sn, const char *href); |
85 |
90 |
86 /* |
91 /* |
87 * returns true if path1 and path2 are equal or if path2 is a child of path1 |
92 * returns true if path1 and path2 are equal or if path2 is a child of path1 |
95 |
100 |
96 void util_capture_header(CURL *handle, CxMap* map); |
101 void util_capture_header(CURL *handle, CxMap* map); |
97 |
102 |
98 char* util_path_to_url(DavSession *sn, const char *path); |
103 char* util_path_to_url(DavSession *sn, const char *path); |
99 char* util_parent_path(const char *path); |
104 char* util_parent_path(const char *path); |
|
105 char* util_sys_parent_path(const char *path); |
100 |
106 |
101 char* util_size_str(DavBool iscollection, uint64_t contentlength); |
107 char* util_size_str(DavBool iscollection, uint64_t contentlength); |
102 char* util_date_str(time_t tm); |
108 char* util_date_str(time_t tm); |
103 |
109 |
104 int util_getboolean(const char *v); |
110 int util_getboolean(const char *v); |