libidav/utils.h

changeset 543
2f85df8cd35e
parent 542
060a8cda7f62
child 544
9e85e1ec1155
equal deleted inserted replaced
542:060a8cda7f62 543:2f85df8cd35e
70 char* util_resource_name(char *url); 70 char* util_resource_name(char *url);
71 char* util_concat_path(const char *url_base, const char *path); 71 char* util_concat_path(const char *url_base, const char *path);
72 char* util_get_url(DavSession *sn, const char *href); 72 char* util_get_url(DavSession *sn, const char *href);
73 void util_set_url(DavSession *sn, const char *href); 73 void util_set_url(DavSession *sn, const char *href);
74 74
75 /*
76 * returns true if path1 and path2 are equal or if path2 is a child of path1
77 */
78 int util_path_isrelated(const char *path1, const char *path2);
79
75 void util_capture_header(CURL *handle, UcxMap* map); 80 void util_capture_header(CURL *handle, UcxMap* map);
76 81
77 char* util_path_to_url(DavSession *sn, char *path); 82 char* util_path_to_url(DavSession *sn, char *path);
78 char* util_parent_path(char *path); 83 char* util_parent_path(char *path);
79 84

mercurial