Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/filesystems/curlftpfs/files/patch-path__utils.h
16464 views
1
--- path_utils.h.orig 2007-11-20 19:27:58 UTC
2
+++ path_utils.h
3
@@ -6,4 +6,11 @@ char* get_full_path(const char* path);
4
char* get_fulldir_path(const char* path);
5
char* get_dir_path(const char* path);
6
7
+/*
8
+ * Transforms UNIX path to RFC3986 encoded path
9
+ * (CURLOPT_URL accepts only such paths)
10
+ */
11
+char* path_to_uri(const char* path);
12
+void free_uri(char* path);
13
+
14
#endif /* __CURLFTPFS_PATH_UTILS_H__ */
15
16