summaryrefslogblamecommitdiffstats
path: root/include/convert.h
blob: a4f1b4103db6700072abf53bb99163cb5a546ce9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                       
 


                      
              
 


                         
 

                                                        
                               
 

                        
/* $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