… | |
… | |
959 | #endif |
959 | #endif |
960 | |
960 | |
961 | extern class rxvt_failure_exception { } rxvt_failure_exception; |
961 | extern class rxvt_failure_exception { } rxvt_failure_exception; |
962 | |
962 | |
963 | typedef callback1<void, const char *> log_callback; |
963 | typedef callback1<void, const char *> log_callback; |
|
|
964 | typedef callback1<int, int> getfd_callback; |
964 | |
965 | |
965 | extern void rxvt_vlog (const char *fmt, va_list arg_ptr); |
966 | extern void rxvt_vlog (const char *fmt, va_list arg_ptr); |
966 | extern void rxvt_log (const char *fmt, ...); |
967 | extern void rxvt_log (const char *fmt, ...); |
967 | extern void rxvt_warn (const char *fmt, ...); |
968 | extern void rxvt_warn (const char *fmt, ...); |
968 | extern void rxvt_fatal (const char *fmt, ...) __attribute__ ((noreturn)); |
969 | extern void rxvt_fatal (const char *fmt, ...) __attribute__ ((noreturn)); |
… | |
… | |
1045 | class keyboard_manager; |
1046 | class keyboard_manager; |
1046 | #endif |
1047 | #endif |
1047 | |
1048 | |
1048 | struct rxvt_term : zero_initialized, rxvt_vars { |
1049 | struct rxvt_term : zero_initialized, rxvt_vars { |
1049 | log_callback *log_hook; // log error messages through this hook, if != 0 |
1050 | log_callback *log_hook; // log error messages through this hook, if != 0 |
|
|
1051 | getfd_callback *getfd_hook; // convert remote to local fd, if != 0 |
1050 | |
1052 | |
1051 | struct mbstate mbstate; // current input multibyte state |
1053 | struct mbstate mbstate; // current input multibyte state |
1052 | |
1054 | |
1053 | unsigned char want_refresh:1, |
1055 | unsigned char want_refresh:1, |
1054 | #ifdef TRANSPARENT |
1056 | #ifdef TRANSPARENT |