X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/1d0d4a3be9a1fdaf3b34ed1a6ad51e3407ea3091..e310973039d8225ab3498a9c8500fd0c4d56121a:/unix/unix.h diff --git a/unix/unix.h b/unix/unix.h index b003ac74..9fd15699 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -61,10 +61,14 @@ 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;