summaryrefslogtreecommitdiff
path: root/sshconnect.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-07-04 04:07:12 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-07-04 04:07:12 +0000
commitb4c774cf8878d9100fde92ff4e938671c3b0301b (patch)
treea2dff9a498a7c4cdeddace98c2c34c7a2e3689fb /sshconnect.h
parent16ae3d0dba5f81e5602798b915105284033dea75 (diff)
- itojun@cvs.openbsd.org 2001/06/26 06:33:07
[servconf.h serverloop.h session.h sftp-client.h sftp-common.h sftp-glob.h sftp-int.h sshconnect.h ssh-dss.h sshlogin.h sshpty.h ssh-rsa.h tildexpand.h uidswap.h uuencode.h xmalloc.h] prototype pedant. not very creative... - () -> (void) - no variable names
Diffstat (limited to 'sshconnect.h')
-rw-r--r--sshconnect.h27
1 files changed, 10 insertions, 17 deletions
diff --git a/sshconnect.h b/sshconnect.h
index 1aa892f7e..c15ed4bc4 100644
--- a/sshconnect.h
+++ b/sshconnect.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.h,v 1.10 2001/06/23 02:34:32 markus Exp $ */ 1/* $OpenBSD: sshconnect.h,v 1.11 2001/06/26 06:33:03 itojun Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -27,27 +27,20 @@
27#define SSHCONNECT_H 27#define SSHCONNECT_H
28 28
29int 29int
30ssh_connect(const char *host, struct sockaddr_storage * hostaddr, 30ssh_connect(const char *, struct sockaddr_storage *, u_short, int,
31 u_short port, int connection_attempts, 31 int, struct passwd *, const char *);
32 int anonymous, struct passwd *pw,
33 const char *proxy_command);
34 32
35void 33void
36ssh_login(Key **keys, int nkeys, const char *orighost, 34ssh_login(Key **, int, const char *, struct sockaddr *, struct passwd *);
37 struct sockaddr *hostaddr, struct passwd *pw);
38 35
39int verify_host_key(char *host, struct sockaddr *hostaddr, Key *host_key); 36int verify_host_key(char *, struct sockaddr *, Key *);
40 37
41void ssh_kex(char *host, struct sockaddr *hostaddr); 38void ssh_kex(char *, struct sockaddr *);
42void ssh_kex2(char *host, struct sockaddr *hostaddr); 39void ssh_kex2(char *, struct sockaddr *);
43 40
44void 41void ssh_userauth1(const char *, const char *, char *, Key **, int);
45ssh_userauth1(const char *local_user, const char *server_user, char *host, 42void ssh_userauth2(const char *, const char *, char *, Key **, int);
46 Key **keys, int nkeys);
47void
48ssh_userauth2(const char *local_user, const char *server_user, char *host,
49 Key **keys, int nkeys);
50 43
51void ssh_put_password(char *password); 44void ssh_put_password(char *);
52 45
53#endif 46#endif