view src/secure_save.h @ 440:3d16af3b133a

rm as external delete command is too dangerous, even for testing
author nadvornik
date Sun, 20 Apr 2008 09:53:37 +0000
parents 99139bf9f380
children 48c8e49b571c
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(const 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 */