server/src/common/modules/gmcmd.h

45 lines
1 KiB
C
Raw Normal View History

2001-01-30 21:02:06 +01:00
/* vi: set ts=2:
*
*
* Eressea PB(E)M host Copyright (C) 1998-2003
2001-01-30 21:02:06 +01:00
* Christian Schlittchen (corwin@amber.kn-bremen.de)
* Katja Zedel (katze@felidae.kn-bremen.de)
* Henning Peters (faroul@beyond.kn-bremen.de)
* Enno Rehling (enno@eressea-pbem.de)
* Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
*
* This program may not be used, modified or distributed without
* prior permission by the authors of Eressea.
*/
#ifndef H_MOD_GMCMD
#define H_MOD_GMCMD
#ifdef __cplusplus
extern "C" {
#endif
struct plane;
2001-01-28 11:10:22 +01:00
struct attrib;
struct unit;
struct faction;
struct region;
2001-01-28 11:10:22 +01:00
extern void init_gmcmd(void);
2001-01-30 21:02:06 +01:00
/* initialize this module */
2001-01-28 11:10:22 +01:00
extern void gmcommands(void);
2001-01-30 21:02:06 +01:00
/* execute commands */
2001-01-28 11:10:22 +01:00
extern struct faction * gm_addfaction(const char * email, struct plane * p, struct region * r);
extern struct plane * gm_addplane(short radius, unsigned int flags, const char * name);
2001-01-30 21:02:06 +01:00
/*
* doesn't belong in here:
*/
struct attrib * find_key(struct attrib * attribs, int key);
#ifdef __cplusplus
}
#endif
#endif