Use path_from_utf8() on the passed filename.
[geeqie.git] / src / secure_save.h
1 /*
2  * Geeqie
3  *
4  * Author: Vladimir Nadvornik
5  * based on the code developped for ELinks by Laurent Monin
6  *
7  * This software is released under the GNU General Public License (GNU GPL).
8  * Please read the included file COPYING for more information.
9  * This software comes with no warranty of any kind, use at your own risk!
10  */
11
12 #ifndef SECURE_SAVE_H
13 #define SECURE_SAVE_H
14
15 extern SecureSaveErrno secsave_errno; /**< internal secsave error number */
16
17 SecureSaveInfo *secure_open(const gchar *);
18
19 gint secure_close(SecureSaveInfo *);
20
21 gint secure_fputs(SecureSaveInfo *, const gchar *);
22 gint secure_fputc(SecureSaveInfo *, gint);
23
24 gint secure_fprintf(SecureSaveInfo *, const gchar *, ...);
25
26 gchar *secsave_strerror(SecureSaveErrno);
27
28 #endif /* SECURE_SAVE_H */