summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-08 16:49:52 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-08 16:49:52 +1100
commitb7b17be4c0e235b670fb642a394abfe2e9b68cef (patch)
treeb3f5aaf28254c4aa64a1bdc4b927f9572a2e8d67
parent880ab0d84e1c7d7957ff38d6506ff92868407a77 (diff)
- andreas@cvs.openbsd.org 2009/10/24 11:11:58
[roaming.h] Declarations needed for upcoming changes. ok markus@
-rw-r--r--ChangeLog7
-rw-r--r--roaming.h8
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dec861245..5935fa6ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
120091208
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
120091226 820091226
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.
diff --git a/roaming.h b/roaming.h
index e517161f6..6bb94cc39 100644
--- a/roaming.h
+++ b/roaming.h
@@ -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
24extern int roaming_enabled;
23extern int resume_in_progress; 25extern int resume_in_progress;
24 26
27void request_roaming(void);
25int get_snd_buf_size(void); 28int get_snd_buf_size(void);
26int get_recv_buf_size(void); 29int get_recv_buf_size(void);
27void add_recv_bytes(u_int64_t); 30void add_recv_bytes(u_int64_t);
31int wait_for_roaming_reconnect(void);
32void roaming_reply(int, u_int32_t, void *);
28void set_out_buffer_size(size_t); 33void set_out_buffer_size(size_t);
29ssize_t roaming_write(int, const void *, size_t, int *); 34ssize_t roaming_write(int, const void *, size_t, int *);
30ssize_t roaming_read(int, void *, size_t, int *); 35ssize_t roaming_read(int, void *, size_t, int *);
@@ -33,6 +38,7 @@ u_int64_t get_recv_bytes(void);
33u_int64_t get_sent_bytes(void); 38u_int64_t get_sent_bytes(void);
34void roam_set_bytes(u_int64_t, u_int64_t); 39void roam_set_bytes(u_int64_t, u_int64_t);
35void resend_bytes(int, u_int64_t *); 40void resend_bytes(int, u_int64_t *);
41void calculate_new_key(u_int64_t *, u_int64_t, u_int64_t);
36int resume_kex(void); 42int resume_kex(void);
37 43
38#endif /* ROAMING */ 44#endif /* ROAMING */