X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/7af753e651143f2370eb086634a387f2eb58c6de..e310973039d8225ab3498a9c8500fd0c4d56121a:/unix/unix.h diff --git a/unix/unix.h b/unix/unix.h index c7f24709..9fd15699 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -24,6 +24,12 @@ extern Backend pty_backend; #define MULTICLICK_ONLY_EVENT 0 /* + * Under GTK, there is no context help available. + */ +#define HELPCTX(x) P(NULL) +#define FILTER_KEY_FILES NULL /* FIXME */ + +/* * Under X, selection data must not be NUL-terminated. */ #define SELECTION_NUL_TERMINATED 0 @@ -55,10 +61,18 @@ char *x_get_default(const char *key); /* Things uxstore.c provides to pterm.c */ void provide_xrm_string(char *string); -/* Things uxnet.c provides to the front end */ +/* The interface used by uxsel.c */ +void uxsel_init(void); +typedef int (*uxsel_callback_fn)(int fd, int event); +void uxsel_set(int fd, int rwx, uxsel_callback_fn callback); +void uxsel_del(int fd); int select_result(int fd, int event); -int first_socket(int *state, int *rwx); -int next_socket(int *state, int *rwx); +int first_fd(int *state, int *rwx); +int next_fd(int *state, int *rwx); + +/* uxcfg.c */ +struct controlbox; +void unix_setup_config_box(struct controlbox *b, int midsession); /* * In the Unix Unicode layer, DEFAULT_CODEPAGE is a special value