diff options
author | Colin Watson <cjwatson@debian.org> | 2016-02-29 12:15:15 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-03-08 11:51:22 +0000 |
commit | 46961f5704f8e86cea3e99253faad55aef4d8f35 (patch) | |
tree | 0dd97fa4fb649a62b4639fe2674380872b1f3e98 /roaming_dummy.c | |
parent | c753fe267efb1b027424fa8706cf0385fc3d14c1 (diff) | |
parent | 85e40e87a75fb80a0bf893ac05a417d6c353537d (diff) |
New upstream release (7.2).
Diffstat (limited to 'roaming_dummy.c')
-rw-r--r-- | roaming_dummy.c | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/roaming_dummy.c b/roaming_dummy.c deleted file mode 100644 index 837de695d..000000000 --- a/roaming_dummy.c +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | /* $OpenBSD: roaming_dummy.c,v 1.4 2015/01/19 19:52:16 markus Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2004-2009 AppGate Network Security AB | ||
4 | * | ||
5 | * Permission to use, copy, modify, and distribute this software for any | ||
6 | * purpose with or without fee is hereby granted, provided that the above | ||
7 | * copyright notice and this permission notice appear in all copies. | ||
8 | * | ||
9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
10 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
11 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
12 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
13 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
14 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
16 | */ | ||
17 | |||
18 | /* | ||
19 | * This file is included in the client programs which should not | ||
20 | * support roaming. | ||
21 | */ | ||
22 | |||
23 | #include "includes.h" | ||
24 | |||
25 | #include <sys/types.h> | ||
26 | #include <unistd.h> | ||
27 | |||
28 | #include "roaming.h" | ||
29 | |||
30 | int resume_in_progress = 0; | ||
31 | |||
32 | u_int64_t | ||
33 | get_recv_bytes(void) | ||
34 | { | ||
35 | return 0; | ||
36 | } | ||
37 | |||
38 | u_int64_t | ||
39 | get_sent_bytes(void) | ||
40 | { | ||
41 | return 0; | ||
42 | } | ||
43 | |||
44 | void | ||
45 | roam_set_bytes(u_int64_t sent, u_int64_t recvd) | ||
46 | { | ||
47 | } | ||
48 | |||
49 | ssize_t | ||
50 | roaming_write(int fd, const void *buf, size_t count, int *cont) | ||
51 | { | ||
52 | return write(fd, buf, count); | ||
53 | } | ||
54 | |||
55 | ssize_t | ||
56 | roaming_read(int fd, void *buf, size_t count, int *cont) | ||
57 | { | ||
58 | if (cont) | ||
59 | *cont = 0; | ||
60 | return read(fd, buf, count); | ||
61 | } | ||
62 | |||
63 | void | ||
64 | add_recv_bytes(u_int64_t num) | ||
65 | { | ||
66 | } | ||
67 | |||
68 | int | ||
69 | resume_kex(void) | ||
70 | { | ||
71 | return 1; | ||
72 | } | ||