Fixed crash when opening file for write fails while bzip2 or xz compression is in...
[freeciv.git] / server / actiontools.h
blob56aedec65fa3f59ee58db3a01099d9809642d38f
1 /**********************************************************************
2 Freeciv - Copyright (C) 1996-2015 - Freeciv Development Team
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 ***********************************************************************/
14 #ifndef FC__ACTIONTOOLS_H
15 #define FC__ACTIONTOOLS_H
17 /* common */
18 #include "player.h"
19 #include "tile.h"
21 void action_consequence_caught(const int action_id,
22 struct player *offender,
23 struct player *victim_player,
24 const struct tile *victim_tile,
25 const char *victim_link);
27 void action_consequence_success(const int action_id,
28 struct player *offender,
29 struct player *victim_player,
30 const struct tile *victim_tile,
31 const char *victim_link);
33 #endif /* FC__ACTIONTOOLS_H */