From 62eb41a8bf4be835265df15f0183a4682a71ba31 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 11 Apr 2012 13:30:30 +0200 Subject: Don't cry and die on a configured server (!) which doesn't resolve (DNS). Just cry some. Part of fixing RADSECPROXY-30. --- common.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 common.h (limited to 'common.h') diff --git a/common.h b/common.h new file mode 100644 index 0000000..e94f347 --- /dev/null +++ b/common.h @@ -0,0 +1,16 @@ +/* + * Copyright (C) 2012 NORDUnet A/S + * + * 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. + */ + +int addserverextra(const struct clsrvconf *conf, + int *socket4, + int *socket6, + struct addrinfo *addrinfo); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ -- cgit v1.1