… | |
… | |
93 | #ifndef STDIN_FILENO |
93 | #ifndef STDIN_FILENO |
94 | # define STDIN_FILENO 0 |
94 | # define STDIN_FILENO 0 |
95 | # define STDOUT_FILENO 1 |
95 | # define STDOUT_FILENO 1 |
96 | # define STDERR_FILENO 2 |
96 | # define STDERR_FILENO 2 |
97 | #endif |
97 | #endif |
98 | |
|
|
99 | enum rxvt_privaction { IGNORE = 'i', SAVE = 's', RESTORE = 'r' };//TODO |
|
|
100 | |
98 | |
101 | /* |
99 | /* |
102 | ***************************************************************************** |
100 | ***************************************************************************** |
103 | * PROTOTYPES |
101 | * PROTOTYPES |
104 | ***************************************************************************** |
102 | ***************************************************************************** |
… | |
… | |
108 | RETSIGTYPE rxvt_Exit_signal (int sig); |
106 | RETSIGTYPE rxvt_Exit_signal (int sig); |
109 | void rxvt_clean_exit (); |
107 | void rxvt_clean_exit (); |
110 | void * rxvt_malloc (size_t size); |
108 | void * rxvt_malloc (size_t size); |
111 | void * rxvt_calloc (size_t number, size_t size); |
109 | void * rxvt_calloc (size_t number, size_t size); |
112 | void * rxvt_realloc (void *ptr, size_t size); |
110 | void * rxvt_realloc (void *ptr, size_t size); |
113 | void rxvt_privileges (rxvt_privaction action); |
|
|
114 | |
111 | |
115 | // util.C |
112 | // util.C |
116 | char * rxvt_wcstombs (const wchar_t *str, int len = -1); |
113 | char * rxvt_wcstombs (const wchar_t *str, int len = -1); |
117 | wchar_t * rxvt_mbstowcs (const char *str, int len = -1); |
114 | wchar_t * rxvt_mbstowcs (const char *str, int len = -1); |
118 | char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1); |
115 | char * rxvt_wcstoutf8 (const wchar_t *str, int len = -1); |
… | |
… | |
1326 | void process_graphics (); |
1323 | void process_graphics (); |
1327 | // init.C |
1324 | // init.C |
1328 | void Get_Colours (); |
1325 | void Get_Colours (); |
1329 | void get_ourmods (); |
1326 | void get_ourmods (); |
1330 | // main.C |
1327 | // main.C |
1331 | void privileged_utmp (rxvt_privaction action); |
|
|
1332 | bool set_fonts (); |
1328 | bool set_fonts (); |
1333 | void set_string_property (Atom prop, const char *str, int len = -1); |
1329 | void set_string_property (Atom prop, const char *str, int len = -1); |
1334 | void set_utf8_property (Atom prop, const char *str, int len = -1); |
1330 | void set_utf8_property (Atom prop, const char *str, int len = -1); |
1335 | void set_title (const char *str); |
1331 | void set_title (const char *str); |
1336 | void set_icon_name (const char *str); |
1332 | void set_icon_name (const char *str); |
… | |
… | |
1429 | rxvt_fontset *scr_find_fontset (rend_t r = DEFAULT_RSTYLE); |
1425 | rxvt_fontset *scr_find_fontset (rend_t r = DEFAULT_RSTYLE); |
1430 | void scr_recolour (); |
1426 | void scr_recolour (); |
1431 | void scr_remap_chars (); |
1427 | void scr_remap_chars (); |
1432 | void scr_remap_chars (line_t &l); |
1428 | void scr_remap_chars (line_t &l); |
1433 | |
1429 | |
|
|
1430 | enum cursor_mode { SAVE, RESTORE }; |
|
|
1431 | |
1434 | void scr_poweron (); |
1432 | void scr_poweron (); |
1435 | void scr_cursor (int mode); |
1433 | void scr_cursor (cursor_mode mode); |
1436 | void scr_do_wrap (); |
1434 | void scr_do_wrap (); |
1437 | int scr_change_screen (int scrn); |
1435 | int scr_change_screen (int scrn); |
1438 | void scr_color (unsigned int color, int fgbg); |
1436 | void scr_color (unsigned int color, int fgbg); |
1439 | void scr_rendition (int set, int style); |
1437 | void scr_rendition (int set, int style); |
1440 | void scr_add_lines (const wchar_t *str, int len, int minlines = 0); |
1438 | void scr_add_lines (const wchar_t *str, int len, int minlines = 0); |