summaryrefslogtreecommitdiff
path: root/authfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'authfd.h')
-rw-r--r--authfd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/authfd.h b/authfd.h
index e8a0ec88f..b075cfa10 100644
--- a/authfd.h
+++ b/authfd.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfd.h,v 1.24 2002/03/21 22:44:05 rees Exp $ */ 1/* $OpenBSD: authfd.h,v 1.25 2002/06/05 19:57:12 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -42,6 +42,10 @@
42#define SSH_AGENTC_ADD_SMARTCARD_KEY 20 42#define SSH_AGENTC_ADD_SMARTCARD_KEY 20
43#define SSH_AGENTC_REMOVE_SMARTCARD_KEY 21 43#define SSH_AGENTC_REMOVE_SMARTCARD_KEY 21
44 44
45/* lock/unlock the agent */
46#define SSH_AGENTC_LOCK 22
47#define SSH_AGENTC_UNLOCK 23
48
45/* extended failure messages */ 49/* extended failure messages */
46#define SSH2_AGENT_FAILURE 30 50#define SSH2_AGENT_FAILURE 30
47 51
@@ -67,6 +71,7 @@ Key *ssh_get_next_identity(AuthenticationConnection *, char **, int);
67int ssh_add_identity(AuthenticationConnection *, Key *, const char *); 71int ssh_add_identity(AuthenticationConnection *, Key *, const char *);
68int ssh_remove_identity(AuthenticationConnection *, Key *); 72int ssh_remove_identity(AuthenticationConnection *, Key *);
69int ssh_remove_all_identities(AuthenticationConnection *, int); 73int ssh_remove_all_identities(AuthenticationConnection *, int);
74int ssh_lock_agent(AuthenticationConnection *, int, const char *);
70int ssh_update_card(AuthenticationConnection *, int, const char *, const char *); 75int ssh_update_card(AuthenticationConnection *, int, const char *, const char *);
71 76
72int 77int