server/src/report.h

46 lines
1.5 KiB
C
Raw Normal View History

#pragma once
/*
2010-08-08 10:06:34 +02:00
+-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
| | Enno Rehling <enno@eressea.de>
| Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
| (c) 1998 - 2003 | Henning Peters <faroul@beyond.kn-bremen.de>
| | Ingo Wilken <Ingo.Wilken@informatik.uni-oldenburg.de>
+-------------------+ Stefan Reich <reich@halbling.de>
This program may not be used, modified or distributed
2010-08-08 10:06:34 +02:00
without prior permission by the authors of Eressea.
*/
2010-08-08 10:06:34 +02:00
#ifndef H_GC_REPORT
#define H_GC_REPORT
#include <stddef.h>
#include <stdbool.h>
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
extern "C" {
#endif
struct stream;
struct sbstring;
2015-11-12 19:34:25 +01:00
struct spellbook_entry;
struct region;
struct faction;
2016-09-16 19:28:07 +02:00
struct locale;
struct allies;
void register_nr(void);
void report_cleanup(void);
void write_spaces(struct stream *out, size_t num);
void report_travelthru(struct stream *out, struct region * r, const struct faction * f);
void report_region(struct stream *out, const struct region * r, struct faction * f);
void report_allies(struct stream *out, size_t maxlen, const struct faction * f, struct allies * allies, const char *prefix);
void pump_paragraph(struct sbstring *sbp, struct stream *out, size_t maxlen, bool isfinal);
2015-11-12 19:34:25 +01:00
void nr_spell_syntax(char *buf, size_t size, struct spellbook_entry * sbe, const struct locale *lang);
2015-11-12 19:34:25 +01:00
void nr_spell(struct stream *out, struct spellbook_entry * sbe, const struct locale *lang);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif