summaryrefslogtreecommitdiffstats
path: root/include/convert.h
blob: c5303d56f075a97b31d0628518a34d498093b8c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* $Id: convert.h 1374 2003-11-27 14:11:40Z victor $ */

#ifndef _BBS_CONVERT_H
#define _BBS_CONVERT_H

#ifdef CONVERT

#define CONV_NORMAL 0
#define CONV_GB     1
#define CONV_UTF8   2

typedef ssize_t (*read_write_type)(int, void *, size_t);
typedef ssize_t (*convert_type)(void *, ssize_t);
extern int bbs_convert_type;

#endif // CONVERT
#endif // _BBS_CONVERT_H