/[LeafOK_CVS]/lbbs/include/io.h
ViewVC logotype

Diff of /lbbs/include/io.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 by sysadm, Mon Jun 9 15:39:05 2025 UTC Revision 1.23 by sysadm, Sat Oct 18 05:02:14 2025 UTC
# Line 17  Line 17 
17  #ifndef _IO_H_  #ifndef _IO_H_
18  #define _IO_H_  #define _IO_H_
19    
20    #include <iconv.h>
21  #include <stdio.h>  #include <stdio.h>
22    
23  #define CR '\r'  #define CR '\r'
# Line 98  Line 99 
99  #define DOECHO (1)  #define DOECHO (1)
100  #define NOECHO (0)  #define NOECHO (0)
101    
102  extern int prints(const char *format, ...);  #define BBS_DEFAULT_CHARSET "UTF-8"
103    
104  extern int outc(char c);  extern char stdio_charset[20];
105    
106    extern int prints(const char *format, ...);
107    extern int outc(char c);
108  extern int iflush(void);  extern int iflush(void);
109    
110  extern int igetch(int timeout);  extern int igetch(int timeout);
   
111  extern int igetch_t(int sec);  extern int igetch_t(int sec);
   
112  extern void igetch_reset(void);  extern void igetch_reset(void);
113    
114    extern int io_buf_conv(iconv_t cd, char *p_buf, int *p_buf_len, int *p_buf_offset, char *p_conv, size_t conv_size, int *p_conv_len);
115    extern int io_conv_init(const char *charset);
116    extern int io_conv_cleanup(void);
117    
118  #endif //_IO_H_  #endif //_IO_H_


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1