]> andersk Git - openssh.git/blobdiff - authfd.h
- (djm) Merge OpenBSD changes:
[openssh.git] / authfd.h
index 808575cd8b26845247fa1952b2325cda3e17f44b..65471ad7c219d3edc99fdc5a3620bad2ce7eec41 100644 (file)
--- a/authfd.h
+++ b/authfd.h
@@ -11,7 +11,7 @@
  * called by a name other than "ssh" or "Secure Shell".
  */
 
-/* RCSID("$OpenBSD: authfd.h,v 1.12 2000/09/21 11:07:51 markus Exp $"); */
+/* RCSID("$OpenBSD: authfd.h,v 1.14 2000/11/12 19:50:37 markus Exp $"); */
 
 #ifndef AUTHFD_H
 #define AUTHFD_H
@@ -29,6 +29,7 @@
 #define SSH_AGENTC_REMOVE_RSA_IDENTITY         8
 #define SSH_AGENTC_REMOVE_ALL_RSA_IDENTITIES   9
 
+/* private OpenSSH extensions for SSH2 */
 #define SSH2_AGENTC_REQUEST_IDENTITIES         11
 #define SSH2_AGENT_IDENTITIES_ANSWER           12
 #define SSH2_AGENTC_SIGN_REQUEST               13
@@ -37,6 +38,9 @@
 #define SSH2_AGENTC_REMOVE_IDENTITY            18
 #define SSH2_AGENTC_REMOVE_ALL_IDENTITIES      19
 
+/* additional error code for ssh.com's ssh-agent2 */
+#define SSH_COM_AGENT2_FAILURE                   102
+
 #define        SSH_AGENT_OLD_SIGNATURE                 0x01
 
 
@@ -70,6 +74,11 @@ AuthenticationConnection *ssh_get_authentication_connection();
  */
 void    ssh_close_authentication_connection(AuthenticationConnection *auth);
 
+/*
+ * Returns the number authentication identity held by the agent.
+ */
+int    ssh_get_num_identities(AuthenticationConnection *auth, int version);
+
 /*
  * Returns the first authentication identity held by the agent or NULL if
  * no identies are available. Caller must free comment and key.
This page took 0.032126 seconds and 4 git commands to generate.