/[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.29 by sysadm, Wed Nov 5 02:48:48 2025 UTC Revision 1.32 by sysadm, Sun Jan 4 03:45:54 2026 UTC
# Line 3  Line 3 
3   * io   * io
4   *   - basic terminal-based user input / output features   *   - basic terminal-based user input / output features
5   *   *
6   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>   * Copyright (C) 2004-2026  Leaflet <leaflet@leafok.com>
7   */   */
8    
9  #ifndef _IO_H_  #ifndef _IO_H_
# Line 17  enum io_key_t Line 17  enum io_key_t
17      CR = '\r',      CR = '\r',
18      LF = '\n',      LF = '\n',
19      BACKSPACE = '\b',      BACKSPACE = '\b',
20      BELL = '\b',      BELL = '\7',
21      KEY_TAB = 9,      KEY_TAB = '\t',
22      KEY_ESC = 27,      KEY_ESC = '\033',
23      KEY_SPACE = '\040',      KEY_SPACE = '\040',
24    
25      // Expand key      // Expand key
# Line 101  enum io_iconv_t Line 101  enum io_iconv_t
101  extern const char BBS_default_charset[CHARSET_MAX_LEN + 1];  extern const char BBS_default_charset[CHARSET_MAX_LEN + 1];
102  extern char stdio_charset[CHARSET_MAX_LEN + 1];  extern char stdio_charset[CHARSET_MAX_LEN + 1];
103    
104    extern int io_init(void);
105    extern void io_cleanup(void);
106    
107  extern int prints(const char *format, ...);  extern int prints(const char *format, ...);
108  extern int outc(char c);  extern int outc(char c);
109  extern int iflush(void);  extern int iflush(void);


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

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