Don't override label for Save As menuitem
[pspp-builds.git] / src / data / file-name.h
index d18ce22a5f51d418ea16c6d838e14ccca1412cc9..d34bd4196fea046db722197aa403db964a423deb 100644 (file)
@@ -20,6 +20,7 @@
 #include <stdio.h>
 #include <stdbool.h>
 #include <libpspp/str.h>
+#include <sys/types.h>
 
 /* Search path for configuration files. */
 extern const char *config_path;
@@ -43,9 +44,14 @@ const char *fn_getenv_default (const char *variable, const char *def);
 FILE *fn_open (const char *fn, const char *mode);
 int fn_close (const char *fn, FILE *file);
 
+FILE *create_stream (const char *fn, const char *mode, mode_t permissions);
+
 struct file_identity *fn_get_identity (const char *file_name);
 void fn_free_identity (struct file_identity *);
 int fn_compare_file_identities (const struct file_identity *,
                                 const struct file_identity *);
+unsigned int fn_hash_identity (const struct file_identity *);
+
+const char * default_output_path (void);
 
 #endif /* file-name.h */