summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas <andreas@openbsd.org>2009-10-24 11:11:58 +0000
committerandreas <andreas@openbsd.org>2009-10-24 11:11:58 +0000
commit43364d22cda7eee9a5e629bd611b2e2265ae0b91 (patch)
tree7ea1214d4c48a4bd9f4a04fce8f39ec335bd96c5
parent-a option to kill all except current pane. From Tiago Cunha, thanks! (diff)
downloadwireguard-openbsd-43364d22cda7eee9a5e629bd611b2e2265ae0b91.tar.xz
wireguard-openbsd-43364d22cda7eee9a5e629bd611b2e2265ae0b91.zip
Declarations needed for upcoming changes.
ok markus@
-rw-r--r--usr.bin/ssh/roaming.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/ssh/roaming.h b/usr.bin/ssh/roaming.h
index e517161f628..6bb94cc391d 100644
--- a/usr.bin/ssh/roaming.h
+++ b/usr.bin/ssh/roaming.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: roaming.h,v 1.4 2009/06/27 09:32:43 andreas Exp $ */
+/* $OpenBSD: roaming.h,v 1.5 2009/10/24 11:11:58 andreas Exp $ */
/*
* Copyright (c) 2004-2009 AppGate Network Security AB
*
@@ -19,12 +19,17 @@
#define ROAMING_H
#define DEFAULT_ROAMBUF 65536
+#define ROAMING_REQUEST "roaming@appgate.com"
+extern int roaming_enabled;
extern int resume_in_progress;
+void request_roaming(void);
int get_snd_buf_size(void);
int get_recv_buf_size(void);
void add_recv_bytes(u_int64_t);
+int wait_for_roaming_reconnect(void);
+void roaming_reply(int, u_int32_t, void *);
void set_out_buffer_size(size_t);
ssize_t roaming_write(int, const void *, size_t, int *);
ssize_t roaming_read(int, void *, size_t, int *);
@@ -33,6 +38,7 @@ u_int64_t get_recv_bytes(void);
u_int64_t get_sent_bytes(void);
void roam_set_bytes(u_int64_t, u_int64_t);
void resend_bytes(int, u_int64_t *);
+void calculate_new_key(u_int64_t *, u_int64_t, u_int64_t);
int resume_kex(void);
#endif /* ROAMING */