view 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
line wrap: on
line source

/*
 * Geeqie
 *
 * Author: Vladimir Nadvornik
 * based on the code developped for ELinks by Laurent Monin
 *
 * This software is released under the GNU General Public License (GNU GPL).
 * Please read the included file COPYING for more information.
 * This software comes with no warranty of any kind, use at your own risk!
 */

#ifndef SECURE_SAVE_H
#define SECURE_SAVE_H

extern SecureSaveErrno secsave_errno; /**< internal secsave error number */

SecureSaveInfo *secure_open(gchar *);

gint secure_close(SecureSaveInfo *);

gint secure_fputs(SecureSaveInfo *, const gchar *);
gint secure_fputc(SecureSaveInfo *, gint);

gint secure_fprintf(SecureSaveInfo *, const gchar *, ...);

gchar *secsave_strerror(SecureSaveErrno);

#endif /* SECURE_SAVE_H */