server/src/util/filereader.h

27 lines
633 B
C
Raw Normal View History

/*
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 - 2005 |
2010-08-08 10:06:34 +02:00
* | | This program may not be used, modified or distributed
* +-------------------+ without prior permission by the authors of Eressea.
*
2010-08-08 10:06:34 +02:00
*/
#ifndef UTIL_FILEREADER_H
#define UTIL_FILEREADER_H
#include <stdio.h>
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
extern "C" {
#endif
#define ENCODING_UTF8 0
#define ENCODING_LATIN1 1
const char *getbuf(FILE *, int encoding);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif