From 8cbd403fde20dda880a7ff3262bf2c36f6582eac Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 8 Jan 2010 19:13:25 +1100 Subject: - (dtucker) [Makefile.in added roaming_client.c roaming_serv.c] Import new files for roaming and add to Makefile. --- roaming_serv.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 roaming_serv.c (limited to 'roaming_serv.c') diff --git a/roaming_serv.c b/roaming_serv.c new file mode 100644 index 000000000..65e9fe631 --- /dev/null +++ b/roaming_serv.c @@ -0,0 +1,29 @@ +/* $OpenBSD: roaming_serv.c,v 1.1 2009/10/24 11:18:23 andreas Exp $ */ +/* + * Copyright (c) 2004-2009 AppGate Network Security AB + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include + +#include "roaming.h" + +/* + * Wait for the roaming client to reconnect. Returns 0 if a connect ocurred. + */ +int +wait_for_roaming_reconnect(void) +{ + return 1; +} -- cgit v1.2.3 From 1a8f535b970738f8de7599d5815d3be3beaa3b48 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 8 Jan 2010 20:45:42 +1100 Subject: - (dtucker) [roaming_serv.c] Include includes.h for u_intXX_t types. --- ChangeLog | 1 + roaming_serv.c | 2 ++ 2 files changed, 3 insertions(+) (limited to 'roaming_serv.c') diff --git a/ChangeLog b/ChangeLog index adb52db3a..11093e7ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -167,6 +167,7 @@ be created. - (dtucker] [misc.c] Shrink the area covered by USE_ROUTINGDOMAIN more to eliminate an unused variable warning. + - (dtucker) [roaming_serv.c] Include includes.h for u_intXX_t types. 20091226 - (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1 diff --git a/roaming_serv.c b/roaming_serv.c index 65e9fe631..511ca8461 100644 --- a/roaming_serv.c +++ b/roaming_serv.c @@ -15,6 +15,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "includes.h" + #include #include "roaming.h" -- cgit v1.2.3