summaryrefslogtreecommitdiff
path: root/authfd.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-06 21:54:57 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-06 21:54:57 +0000
commit61d328acf9d0adcb10a254d072dafa84fb14b78f (patch)
tree974cd00f825192cda0f43acf3f82579d431eab5a /authfd.h
parent163f3b8f6be475e4fc28358846d0bed7bf0587e4 (diff)
downloadopenssh-git-61d328acf9d0adcb10a254d072dafa84fb14b78f.tar.gz
- markus@cvs.openbsd.org 2002/06/05 21:55:44
[authfd.c authfd.h ssh-add.1 ssh-add.c ssh-agent.c] ssh-add -t life, Set lifetime (in seconds) when adding identities; ok provos@
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 b075cfa1..263e4b97 100644
--- a/authfd.h
+++ b/authfd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfd.h,v 1.25 2002/06/05 19:57:12 markus Exp $ */
+/* $OpenBSD: authfd.h,v 1.26 2002/06/05 21:55:44 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -46,6 +46,10 @@
#define SSH_AGENTC_LOCK 22
#define SSH_AGENTC_UNLOCK 23
+/* set key lifetime */
+#define SSH_AGENTC_LIFETIME_IDENTITY1 24
+#define SSH_AGENTC_LIFETIME_IDENTITY 25
+
/* extended failure messages */
#define SSH2_AGENT_FAILURE 30
@@ -69,6 +73,7 @@ int ssh_get_num_identities(AuthenticationConnection *, int);
Key *ssh_get_first_identity(AuthenticationConnection *, char **, int);
Key *ssh_get_next_identity(AuthenticationConnection *, char **, int);
int ssh_add_identity(AuthenticationConnection *, Key *, const char *);
+int ssh_lifetime_identity(AuthenticationConnection *, Key *, u_int);
int ssh_remove_identity(AuthenticationConnection *, Key *);
int ssh_remove_all_identities(AuthenticationConnection *, int);
int ssh_lock_agent(AuthenticationConnection *, int, const char *);