diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:07:12 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:07:12 +0000 |
commit | b4c774cf8878d9100fde92ff4e938671c3b0301b (patch) | |
tree | a2dff9a498a7c4cdeddace98c2c34c7a2e3689fb /sshconnect.h | |
parent | 16ae3d0dba5f81e5602798b915105284033dea75 (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.h | 27 |
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 | ||
29 | int | 29 | int |
30 | ssh_connect(const char *host, struct sockaddr_storage * hostaddr, | 30 | ssh_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 | ||
35 | void | 33 | void |
36 | ssh_login(Key **keys, int nkeys, const char *orighost, | 34 | ssh_login(Key **, int, const char *, struct sockaddr *, struct passwd *); |
37 | struct sockaddr *hostaddr, struct passwd *pw); | ||
38 | 35 | ||
39 | int verify_host_key(char *host, struct sockaddr *hostaddr, Key *host_key); | 36 | int verify_host_key(char *, struct sockaddr *, Key *); |
40 | 37 | ||
41 | void ssh_kex(char *host, struct sockaddr *hostaddr); | 38 | void ssh_kex(char *, struct sockaddr *); |
42 | void ssh_kex2(char *host, struct sockaddr *hostaddr); | 39 | void ssh_kex2(char *, struct sockaddr *); |
43 | 40 | ||
44 | void | 41 | void ssh_userauth1(const char *, const char *, char *, Key **, int); |
45 | ssh_userauth1(const char *local_user, const char *server_user, char *host, | 42 | void ssh_userauth2(const char *, const char *, char *, Key **, int); |
46 | Key **keys, int nkeys); | ||
47 | void | ||
48 | ssh_userauth2(const char *local_user, const char *server_user, char *host, | ||
49 | Key **keys, int nkeys); | ||
50 | 43 | ||
51 | void ssh_put_password(char *password); | 44 | void ssh_put_password(char *); |
52 | 45 | ||
53 | #endif | 46 | #endif |