[BACK]Return to authfd.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/authfd.h between version 1.2 and 1.3

version 1.2, 1999/09/28 04:45:35 version 1.3, 1999/10/14 18:17:42
Line 20 
Line 20 
   
 #include "buffer.h"  #include "buffer.h"
   
 /* Message types for SSH_AUTHENTICATION_FD socket. */  
 #define SSH_AUTHFD_CONNECT      0xf0  
   
 /* Messages for the authentication agent connection. */  /* Messages for the authentication agent connection. */
 #define SSH_AGENTC_REQUEST_RSA_IDENTITIES       1  #define SSH_AGENTC_REQUEST_RSA_IDENTITIES       1
 #define SSH_AGENT_RSA_IDENTITIES_ANSWER         2  #define SSH_AGENT_RSA_IDENTITIES_ANSWER         2
Line 43 
Line 40 
 } AuthenticationConnection;  } AuthenticationConnection;
   
 /* Returns the number of the authentication fd, or -1 if there is none. */  /* Returns the number of the authentication fd, or -1 if there is none. */
 int ssh_get_authentication_fd();  int ssh_get_authentication_socket();
   
 /* This should be called for any descriptor returned by  /* This should be called for any descriptor returned by
    ssh_get_authentication_fd().  Depending on the way the descriptor was     ssh_get_authentication_socket().  Depending on the way the descriptor was
    obtained, this may close the descriptor. */     obtained, this may close the descriptor. */
 void ssh_close_authentication_socket(int authfd);  void ssh_close_authentication_socket(int authfd);
   
 /* Opens a socket to the authentication server.  Returns the number of  
    that socket, or -1 if no connection could be made. */  
 int ssh_get_authentication_connection_fd();  
   
 /* Opens and connects a private socket for communication with the  /* Opens and connects a private socket for communication with the
    authentication agent.  Returns NULL if an error occurred and the     authentication agent.  Returns NULL if an error occurred and the

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3