Freeciv-3.2
Loading...
Searching...
No Matches
packhand.h
Go to the documentation of this file.
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.
7
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__PACKHAND_H
14#define FC__PACKHAND_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* common */
21#include "events.h" /* enum event_type */
22#include "fc_types.h" /* struct connection, struct government */
23#include "map.h"
24
25/* client */
26#include <packhand_gen.h> /* <> so looked from the build directory first. */
27
28void packhand_free(void);
29
31 int packet_type, int size);
33 int packet_type, int size,
34 int request_id);
36
40void start_revolution(void);
41
42#ifdef __cplusplus
43}
44#endif /* __cplusplus */
45
46#endif /* FC__PACKHAND_H */
char * incite_cost
Definition comments.c:75
GType type
Definition repodlgs.c:1313
packet_type
void target_government_init(void)
void start_revolution(void)
Definition packhand.c:2376
void play_sound_for_event(enum event_type type)
Definition packhand.c:1517
void packhand_free(void)
Definition packhand.c:218
void set_government_choice(struct government *government)
Definition packhand.c:2363
void set_reports_thaw_request(int request_id)
void notify_about_incoming_packet(struct connection *pc, int packet_type, int size)
Definition packhand.c:5318
void notify_about_outgoing_packet(struct connection *pc, int packet_type, int size, int request_id)
Definition packhand.c:5328
size_t size
Definition specvec.h:72