X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Funix.h;h=e78800b5a2d93f02ff53fe83ff85473a594f2701;hb=a063e522970946bf7d5dc052079d7773c0dee76d;hp=d43e0ae097a5f273e1b8233eae0b19fdf306bea8;hpb=19fba3fe550785b2584264a59d3dccea81077451;p=PuTTY.git diff --git a/unix/unix.h b/unix/unix.h index d43e0ae0..e78800b5 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -77,6 +77,7 @@ unsigned long getticks(void); /* based on gettimeofday(2) */ char *get_x_display(void *frontend); int font_dimension(void *frontend, int which);/* 0 for width, 1 for height */ long get_windowid(void *frontend); +int frontend_is_utf8(void *frontend); /* Things gtkdlg.c needs from pterm.c */ void *get_window(void *frontend); /* void * to avoid depending on gtk.h */ @@ -184,4 +185,9 @@ void *sk_getxdmdata(void *sock, int *lenp); */ extern Backend serial_backend; +/* + * uxpeer.c, wrapping getsockopt(SO_PEERCRED). + */ +int so_peercred(int fd, int *pid, int *uid, int *gid); + #endif