comparison src/secure_save.h @ 307:667e49f52168

Move secure save code to its own files: secure_save.{c,h}.
author zas_
date Fri, 11 Apr 2008 12:31:32 +0000
parents
children 99139bf9f380
comparison
equal deleted inserted replaced
306:4dbeafae7a53 307:667e49f52168
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(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 */