Freeciv-3.1: /fast/freeciv/nightly/S3_1/tools/ruledit/univ_value.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
univ_value.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__UNIV_VALUE_H
14#define FC__UNIV_VALUE_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20 typedef void (*univ_kind_values_cb)(const char *value, bool current, void *data);
21
22bool universal_value_initial(struct universal *src);
23void universal_kind_values(struct universal *univ, univ_kind_values_cb cb, void *data);
24
25#ifdef __cplusplus
26}
27#endif /* __cplusplus */
28
29#endif /* FC__UNIV_VALUE_H */
universal
Definition fc_types.h:756
universal_value_initial
bool universal_value_initial(struct universal *src)
Definition univ_value.c:40
univ_kind_values_cb
void(* univ_kind_values_cb)(const char *value, bool current, void *data)
Definition univ_value.h:20
universal_kind_values
void universal_kind_values(struct universal *univ, univ_kind_values_cb cb, void *data)
Definition univ_value.c:230