1 | /* |
1 | /* |
2 | * $Id: rxvt.h,v 1.11 2003/12/16 23:04:13 pcg Exp $ |
2 | * $Id: rxvt.h,v 1.12 2003/12/17 09:00:35 pcg Exp $ |
3 | */ |
3 | */ |
4 | |
4 | |
5 | #ifndef _RXVT_H_ /* include once only */ |
5 | #ifndef _RXVT_H_ /* include once only */ |
6 | #define _RXVT_H_ |
6 | #define _RXVT_H_ |
7 | |
7 | |
… | |
… | |
15 | #include <X11/Xatom.h> |
15 | #include <X11/Xatom.h> |
16 | |
16 | |
17 | #include "defaultfont.h" |
17 | #include "defaultfont.h" |
18 | #include "rxvtcolor.h" |
18 | #include "rxvtcolor.h" |
19 | #include "iom.h" |
19 | #include "iom.h" |
|
|
20 | #include "salloc.h" |
20 | |
21 | |
21 | /* |
22 | /* |
22 | ***************************************************************************** |
23 | ***************************************************************************** |
23 | * SYSTEM HACKS |
24 | * SYSTEM HACKS |
24 | ***************************************************************************** |
25 | ***************************************************************************** |
… | |
… | |
1085 | /* command input buffering */ |
1086 | /* command input buffering */ |
1086 | unsigned char *cmdbuf_ptr, *cmdbuf_endp; |
1087 | unsigned char *cmdbuf_ptr, *cmdbuf_endp; |
1087 | unsigned char cmdbuf_base[BUFSIZ]; |
1088 | unsigned char cmdbuf_base[BUFSIZ]; |
1088 | unsigned char kbuf[KBUFSZ]; |
1089 | unsigned char kbuf[KBUFSZ]; |
1089 | |
1090 | |
|
|
1091 | rxvt_salloc *ralloc; |
|
|
1092 | rxvt_salloc *talloc; |
|
|
1093 | |
1090 | void paste (const unsigned char *data, unsigned int len); |
1094 | void paste (const unsigned char *data, unsigned int len); |
1091 | |
1095 | |
1092 | void flush (); |
1096 | void flush (); |
1093 | |
1097 | |
1094 | void check_cb (check_watcher &w); check_watcher check_ev; |
1098 | void check_cb (check_watcher &w); check_watcher check_ev; |
… | |
… | |
1126 | bool pty_fill (); |
1130 | bool pty_fill (); |
1127 | void process_x_events (); |
1131 | void process_x_events (); |
1128 | |
1132 | |
1129 | void *operator new (size_t s); |
1133 | void *operator new (size_t s); |
1130 | void operator delete (void *p, size_t s); |
1134 | void operator delete (void *p, size_t s); |
|
|
1135 | |
|
|
1136 | /* screen(!) */ |
|
|
1137 | void scr_blank_line (text_t *et, rend_t *er, unsigned int width, rend_t efs); |
|
|
1138 | void scr_blank_screen_mem (text_t **tp, rend_t **rp, unsigned int row, rend_t efs); |
|
|
1139 | int scr_scroll_text (int row1, int row2, int count, int spec); |
|
|
1140 | void scr_reset (); |
|
|
1141 | void scr_reset_realloc (); |
|
|
1142 | void scr_release (); |
1131 | }; |
1143 | }; |
1132 | |
1144 | |
1133 | #ifndef __attribute__ |
1145 | #ifndef __attribute__ |
1134 | # ifdef __GNUC__ |
1146 | # ifdef __GNUC__ |
1135 | # if (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || (__GNUC__ < 2) |
1147 | # if (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || (__GNUC__ < 2) |