summaryrefslogtreecommitdiff
path: root/sshconnect.h
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.h')
-rw-r--r--sshconnect.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/sshconnect.h b/sshconnect.h
index b475adde0..ad34ee64a 100644
--- a/sshconnect.h
+++ b/sshconnect.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.h,v 1.13 2001/10/08 19:05:05 markus Exp $ */ 1/* $OpenBSD: sshconnect.h,v 1.14 2002/05/23 19:24:30 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -26,20 +26,27 @@
26#ifndef SSHCONNECT_H 26#ifndef SSHCONNECT_H
27#define SSHCONNECT_H 27#define SSHCONNECT_H
28 28
29typedef struct Sensitive Sensitive;
30struct Sensitive {
31 Key **keys;
32 int nkeys;
33 int external_keysign;
34};
35
29int 36int
30ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int, 37ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int,
31 int, struct passwd *, const char *); 38 int, struct passwd *, const char *);
32 39
33void 40void
34ssh_login(Key **, int, const char *, struct sockaddr *, struct passwd *); 41ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *);
35 42
36int verify_host_key(char *, struct sockaddr *, Key *); 43int verify_host_key(char *, struct sockaddr *, Key *);
37 44
38void ssh_kex(char *, struct sockaddr *); 45void ssh_kex(char *, struct sockaddr *);
39void ssh_kex2(char *, struct sockaddr *); 46void ssh_kex2(char *, struct sockaddr *);
40 47
41void ssh_userauth1(const char *, const char *, char *, Key **, int); 48void ssh_userauth1(const char *, const char *, char *, Sensitive *);
42void ssh_userauth2(const char *, const char *, char *, Key **, int); 49void ssh_userauth2(const char *, const char *, char *, Sensitive *);
43 50
44void ssh_put_password(char *); 51void ssh_put_password(char *);
45 52