diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2024-09-27 10:48:46 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2024-11-06 15:17:35 +0000 |
commit | 6e2da9672f79f44048d597f0f61e4646cdeade9d (patch) | |
tree | c92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/curlftpfs/files/patch-path__utils.h | |
parent | 432f2ebe088377708fb08514ea86f2c19a5b0ad5 (diff) |
Diffstat (limited to 'filesystems/curlftpfs/files/patch-path__utils.h')
-rw-r--r-- | filesystems/curlftpfs/files/patch-path__utils.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/filesystems/curlftpfs/files/patch-path__utils.h b/filesystems/curlftpfs/files/patch-path__utils.h new file mode 100644 index 000000000000..8c1c22344c95 --- /dev/null +++ b/filesystems/curlftpfs/files/patch-path__utils.h @@ -0,0 +1,14 @@ +--- path_utils.h.orig 2007-11-20 19:27:58 UTC ++++ path_utils.h +@@ -6,4 +6,11 @@ char* get_full_path(const char* path); + char* get_fulldir_path(const char* path); + char* get_dir_path(const char* path); + ++/* ++ * Transforms UNIX path to RFC3986 encoded path ++ * (CURLOPT_URL accepts only such paths) ++ */ ++char* path_to_uri(const char* path); ++void free_uri(char* path); ++ + #endif /* __CURLFTPFS_PATH_UTILS_H__ */ |