]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - filemanip.h
Add command-line option help-text localization
[cygwin-apps/setup.git] / filemanip.h
index 9f91cd75af60937e65fa968ae189b9758711067c..e83b8e94ab33de41f4e411ef65b2e0daa64439f9 100644 (file)
@@ -16,6 +16,7 @@
 #ifndef SETUP_FILEMANIP_H
 #define SETUP_FILEMANIP_H
 
+#include <sys/types.h>
 #include <string>
 
 extern int find_tar_ext (const char *path);
@@ -29,9 +30,12 @@ struct fileparse
 };
 
 int parse_filename (const std::string& fn, fileparse & f);
-std::string base (const std::string& );
 size_t get_file_size (const std::string& );
 std::string backslash (const std::string& s);
 const char * trail (const char *, const char *);
+int mklongpath (wchar_t *tgt, const char *src, size_t len);
+int mklongrelpath (wchar_t *tgt, const char *src, size_t len);
+FILE *nt_wfopen (const wchar_t *wpath, const char *mode, mode_t perms);
+FILE *nt_fopen (const char *path, const char *mode, mode_t perms = 0644);
 
 #endif /* SETUP_FILEMANIP_H */
This page took 0.023378 seconds and 5 git commands to generate.