]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/unix.h
Log identifying information for the other end of connections.
[PuTTY.git] / unix / unix.h
index c2f9aeb1c3a7b6045aaf5451af7afa7cc3c95068..917976d699d704f128a15d65cf4b40f390676ac5 100644 (file)
@@ -24,9 +24,6 @@ struct FontSpec *fontspec_new(const char *name);
 
 typedef void *Context;                 /* FIXME: probably needs changing */
 
-typedef int OSSocket;
-#define OSSOCKET_DEFINED              /* stop network.h using its default */
-
 extern Backend pty_backend;
 
 typedef uint32_t uint32; /* C99: uint32_t defined in stdint.h */
@@ -187,4 +184,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