summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-curlftpfs/files/patch-path__utils.h
blob: 8c1c22344c959402f16db6ed8f5e4e176b953605 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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__ */