pspp-convert: Add -a and -l options to search for a password.
[pspp] / src / data / encrypted-file.h
index d089a046f01a846362cbf2b2268489d486933de8..4a2d6b390a8ef33eb000ceb471f7bbb7740a12cc 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 *);