]> andersk Git - openssh.git/blobdiff - ssh.h
Fix off by one error in PAM env patch
[openssh.git] / ssh.h
diff --git a/ssh.h b/ssh.h
index 4284bc914839bb4052b56c72545b9c3587ab38e4..bd1b760461e13b5cd92048eb310cfb7d26134c32 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -18,6 +18,20 @@ Generic header file for ssh.
 #ifndef SSH_H
 #define SSH_H
 
+/* Added by Dan */
+#ifndef SHUT_RDWR
+enum
+{
+  SHUT_RD = 0,    /* No more receptions.  */
+#define SHUT_RD   SHUT_RD
+  SHUT_WR,    /* No more transmissions.  */
+#define SHUT_WR   SHUT_WR
+  SHUT_RDWR   /* No more receptions or transmissions.  */
+#define SHUT_RDWR SHUT_RDWR
+};
+#endif
+
+
 #include "rsa.h"
 #include "cipher.h"
 
@@ -123,6 +137,10 @@ only by root, whereas ssh_config should be world-readable. */
    authentication socket. */
 #define SSH_AUTHSOCKET_ENV_NAME        "SSH_AUTH_SOCK"
 
+/* Name of the environment variable containing the pathname of the
+       authentication socket. */
+#define SSH_AGENTPID_ENV_NAME  "SSH_AGENT_PID"
+
 /* Force host key length and server key length to differ by at least this
    many bits.  This is to make double encryption with rsaref work. */
 #define SSH_KEY_BITS_RESERVED          128
This page took 0.169905 seconds and 4 git commands to generate.