diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-01-08 16:49:52 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-01-08 16:49:52 +1100 |
commit | b7b17be4c0e235b670fb642a394abfe2e9b68cef (patch) | |
tree | b3f5aaf28254c4aa64a1bdc4b927f9572a2e8d67 | |
parent | 880ab0d84e1c7d7957ff38d6506ff92868407a77 (diff) |
- andreas@cvs.openbsd.org 2009/10/24 11:11:58
[roaming.h]
Declarations needed for upcoming changes.
ok markus@
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | roaming.h | 8 |
2 files changed, 14 insertions, 1 deletions
@@ -1,3 +1,10 @@ | |||
1 | 20091208 | ||
2 | - (dtucker) OpenBSD CVS Sync | ||
3 | - andreas@cvs.openbsd.org 2009/10/24 11:11:58 | ||
4 | [roaming.h] | ||
5 | Declarations needed for upcoming changes. | ||
6 | ok markus@ | ||
7 | |||
1 | 20091226 | 8 | 20091226 |
2 | - (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1 | 9 | - (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1 |
3 | Gzip all man pages. Patch from Corinna Vinschen. | 10 | Gzip all man pages. Patch from Corinna Vinschen. |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: roaming.h,v 1.4 2009/06/27 09:32:43 andreas Exp $ */ | 1 | /* $OpenBSD: roaming.h,v 1.5 2009/10/24 11:11:58 andreas Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2004-2009 AppGate Network Security AB | 3 | * Copyright (c) 2004-2009 AppGate Network Security AB |
4 | * | 4 | * |
@@ -19,12 +19,17 @@ | |||
19 | #define ROAMING_H | 19 | #define ROAMING_H |
20 | 20 | ||
21 | #define DEFAULT_ROAMBUF 65536 | 21 | #define DEFAULT_ROAMBUF 65536 |
22 | #define ROAMING_REQUEST "roaming@appgate.com" | ||
22 | 23 | ||
24 | extern int roaming_enabled; | ||
23 | extern int resume_in_progress; | 25 | extern int resume_in_progress; |
24 | 26 | ||
27 | void request_roaming(void); | ||
25 | int get_snd_buf_size(void); | 28 | int get_snd_buf_size(void); |
26 | int get_recv_buf_size(void); | 29 | int get_recv_buf_size(void); |
27 | void add_recv_bytes(u_int64_t); | 30 | void add_recv_bytes(u_int64_t); |
31 | int wait_for_roaming_reconnect(void); | ||
32 | void roaming_reply(int, u_int32_t, void *); | ||
28 | void set_out_buffer_size(size_t); | 33 | void set_out_buffer_size(size_t); |
29 | ssize_t roaming_write(int, const void *, size_t, int *); | 34 | ssize_t roaming_write(int, const void *, size_t, int *); |
30 | ssize_t roaming_read(int, void *, size_t, int *); | 35 | ssize_t roaming_read(int, void *, size_t, int *); |
@@ -33,6 +38,7 @@ u_int64_t get_recv_bytes(void); | |||
33 | u_int64_t get_sent_bytes(void); | 38 | u_int64_t get_sent_bytes(void); |
34 | void roam_set_bytes(u_int64_t, u_int64_t); | 39 | void roam_set_bytes(u_int64_t, u_int64_t); |
35 | void resend_bytes(int, u_int64_t *); | 40 | void resend_bytes(int, u_int64_t *); |
41 | void calculate_new_key(u_int64_t *, u_int64_t, u_int64_t); | ||
36 | int resume_kex(void); | 42 | int resume_kex(void); |
37 | 43 | ||
38 | #endif /* ROAMING */ | 44 | #endif /* ROAMING */ |