annotate src/secure_save.h @ 1808:6c61c246506b

Fix a small issue with strptime strptime do not initialize all fields. So the undefined fields could end in crash later on.
author mow
date Sun, 28 Feb 2010 15:17:12 +0000
parents 956aab097ea7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
307
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
1 /*
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
2 * Geeqie
1802
956aab097ea7 added 2010 to copyright text
nadvornik
parents: 1284
diff changeset
3 * Copyright (C) 2008 - 2010 The Geeqie Team
307
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
4 *
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
5 * based on the code developped for ELinks by Laurent Monin
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
6 *
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
8 * Please read the included file COPYING for more information.
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
10 */
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
11
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
12 #ifndef SECURE_SAVE_H
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
13 #define SECURE_SAVE_H
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
14
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
15 extern SecureSaveErrno secsave_errno; /**< internal secsave error number */
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
16
309
99139bf9f380 Use path_from_utf8() on the passed filename.
zas_
parents: 307
diff changeset
17 SecureSaveInfo *secure_open(const gchar *);
307
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
18
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
19 gint secure_close(SecureSaveInfo *);
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
20
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
21 gint secure_fputs(SecureSaveInfo *, const gchar *);
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
22 gint secure_fputc(SecureSaveInfo *, gint);
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
23
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
24 gint secure_fprintf(SecureSaveInfo *, const gchar *, ...);
1003
4bfee4a63f86 const gpointer -> gconstpointer.
zas_
parents: 1002
diff changeset
25 size_t secure_fwrite(gconstpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi);
307
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
26
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
27 gchar *secsave_strerror(SecureSaveErrno);
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
28
667e49f52168 Move secure save code to its own files: secure_save.{c,h}.
zas_
parents:
diff changeset
29 #endif /* SECURE_SAVE_H */
1055
1646720364cf Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents: 1003
diff changeset
30 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */