summaryrefslogtreecommitdiff
path: root/authfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'authfd.h')
-rw-r--r--authfd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/authfd.h b/authfd.h
index 29d1847b5..04439fd07 100644
--- a/authfd.h
+++ b/authfd.h
@@ -11,7 +11,7 @@
11 * called by a name other than "ssh" or "Secure Shell". 11 * called by a name other than "ssh" or "Secure Shell".
12 */ 12 */
13 13
14/* RCSID("$OpenBSD: authfd.h,v 1.16 2000/12/20 19:37:21 markus Exp $"); */ 14/* RCSID("$OpenBSD: authfd.h,v 1.17 2001/06/26 04:59:59 markus Exp $"); */
15 15
16#ifndef AUTHFD_H 16#ifndef AUTHFD_H
17#define AUTHFD_H 17#define AUTHFD_H
@@ -38,6 +38,10 @@
38#define SSH2_AGENTC_REMOVE_IDENTITY 18 38#define SSH2_AGENTC_REMOVE_IDENTITY 18
39#define SSH2_AGENTC_REMOVE_ALL_IDENTITIES 19 39#define SSH2_AGENTC_REMOVE_ALL_IDENTITIES 19
40 40
41/* smartcard */
42#define SSH_AGENTC_ADD_SMARTCARD_KEY 20
43#define SSH_AGENTC_REMOVE_SMARTCARD_KEY 21
44
41/* additional error code for ssh.com's ssh-agent2 */ 45/* additional error code for ssh.com's ssh-agent2 */
42#define SSH_COM_AGENT2_FAILURE 102 46#define SSH_COM_AGENT2_FAILURE 102
43 47
@@ -133,6 +137,8 @@ int ssh_remove_identity(AuthenticationConnection *auth, Key *key);
133 * meant to be used by normal applications. This returns true if the 137 * meant to be used by normal applications. This returns true if the
134 * operation was successful. 138 * operation was successful.
135 */ 139 */
136int ssh_remove_all_identities(AuthenticationConnection *auth, int version); 140int ssh_remove_all_identities(AuthenticationConnection *auth, int version);
141
142int ssh_update_card(AuthenticationConnection *auth, int add, int reader_id);
137 143
138#endif /* AUTHFD_H */ 144#endif /* AUTHFD_H */