]> andersk Git - openssh.git/blob - roaming.h
- dtucker@cvs.openbsd.org 2009/06/21 07:37:15
[openssh.git] / roaming.h
1 /*
2  * Copyright (c) 2004-2009 AppGate Network Security AB
3  *
4  * Permission to use, copy, modify, and distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16
17 #ifndef ROAMING_H
18 #define ROAMING_H
19
20 extern int resume_in_progress;
21
22 void    add_recv_bytes(u_int64_t);
23 ssize_t roaming_write(int, const void *, size_t, int *);
24 ssize_t roaming_read(int, void *, size_t, int *);
25 ssize_t roaming_atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
26 u_int64_t       get_recv_bytes(void);
27 u_int64_t       get_sent_bytes(void);
28 void    roam_set_bytes(u_int64_t, u_int64_t);
29 int     resume_kex(void);
30
31 #endif /* ROAMING */
This page took 0.184532 seconds and 5 git commands to generate.