annotate src/preferences.h @ 276:4f526d436873
Implement secure rc file saving.
First data is written to a temporary file, then if nothing
was wrong, this file is renamed to the final name.
This way the risk of corrupted rc file is greatly reduced.
The code is borrowed from ELinks (http://elinks.cz).
author |
zas_ |
date |
Tue, 08 Apr 2008 21:55:58 +0000 |
parents |
f6e307c7bad6 |
children |
48c8e49b571c |
rev |
line source |
9
|
1 /*
|
196
|
2 * Geeqie
|
9
|
3 * (C) 2004 John Ellis
|
|
4 *
|
|
5 * Author: John Ellis
|
|
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
|
|
13 #ifndef PREFERENCES_H
|
|
14 #define PREFERENCES_H
|
|
15
|
|
16
|
|
17 void show_config_window(void);
|
|
18 void show_about_window(void);
|
|
19
|
|
20
|
|
21 #endif
|