zip-reader: Switch to a more usual error reporting mechanism.
[pspp] / src / data / encrypted-file.h
index d089a046f01a846362cbf2b2268489d486933de8..7add68042d23de14a72c1391f807ccc7b3308dbf 100644 (file)
 /* Reading encrypted SPSS files. */
 
 struct encrypted_file;
+struct file_handle;
 
-int encrypted_file_open (struct encrypted_file **, const char *filename);
+int encrypted_file_open (struct encrypted_file **, const struct file_handle *);
 bool encrypted_file_unlock (struct encrypted_file *, const char *password);
+bool encrypted_file_unlock__ (struct encrypted_file *, const char *password);
 size_t encrypted_file_read (struct encrypted_file *, void *, size_t);
 int encrypted_file_close (struct encrypted_file *);
 
-bool encrypted_file_is_sav (const struct encrypted_file *);
-
 #endif /* encrypted-file.h */