webperimental: killstack decides stack protects.
[freeciv.git] / server / savegame.h
blob127d76864537cb0f6d3d261fcd2fed399d87fa73
1 /**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
13 #ifndef FC__SAVEGAME_H
14 #define FC__SAVEGAME_H
16 /* utility */
17 #include "support.h"
19 struct section_file;
21 void savegame_load(struct section_file *sfile);
22 void savegame_save(struct section_file *sfile, const char *save_reason,
23 bool scenario);
25 void save_game(const char *orig_filename, const char *save_reason,
26 bool scenario);
28 void save_system_close(void);
30 #endif /* FC__SAVEGAME_H */