Freeciv-3.1: /fast/freeciv/nightly/S3_1/server/scripting/script_fcdb.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
script_fcdb.h
Go to the documentation of this file.
1/*****************************************************************************
2 Freeciv - Copyright (C) 2005 - The Freeciv Project
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
14#ifndef FC__SCRIPT_FCDB_H
15#define FC__SCRIPT_FCDB_H
16
17/* utility */
18#include "support.h" /* fc__attribute() */
19
20/* server */
21#include "fcdb.h"
22
23/* fcdb script functions. */
24bool script_fcdb_init(const char *fcdb_luafile);
25bool script_fcdb_call(const char *func_name, ...);
26void script_fcdb_free(void);
27
28bool script_fcdb_do_string(struct connection *caller, const char *str);
29
30#endif /* FC__SCRIPT_FCDB_H */
str
#define str
Definition astring.c:76
fcdb.h
script_fcdb_free
void script_fcdb_free(void)
Definition script_fcdb.c:319
script_fcdb_do_string
bool script_fcdb_do_string(struct connection *caller, const char *str)
Definition script_fcdb.c:338
script_fcdb_call
bool script_fcdb_call(const char *func_name,...)
Definition script_fcdb.c:301
script_fcdb_init
bool script_fcdb_init(const char *fcdb_luafile)
Definition script_fcdb.c:222
connection
Definition connection.h:141
support.h