2015-01-30 20:37:14 +01:00
|
|
|
/*
|
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>
|
2015-01-30 20:37:14 +01:00
|
|
|
* | (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.
|
2015-01-30 20:37:14 +01:00
|
|
|
*
|
2010-08-08 10:06:34 +02:00
|
|
|
*/
|
|
|
|
#ifndef UTIL_FILEREADER_H
|
|
|
|
#define UTIL_FILEREADER_H
|
2014-03-15 19:29:11 +01:00
|
|
|
|
|
|
|
#include <stdio.h>
|
2010-08-08 10:06:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-06-10 05:14:08 +02:00
|
|
|
#define ENCODING_UTF8 0
|
|
|
|
#define ENCODING_LATIN1 1
|
|
|
|
|
2015-01-30 20:37:14 +01:00
|
|
|
const char *getbuf(FILE *, int encoding);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|