summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-04-11 13:30:30 +0200
committerLinus Nordberg <linus@nordu.net>2012-04-11 13:30:30 +0200
commit62eb41a8bf4be835265df15f0183a4682a71ba31 (patch)
tree16c06fc992aa2dd07e9898d8051f3a4c3ba74bd4 /common.h
parentd40144aec7a0bf59a05f236102bf094363caa32e (diff)
Don't cry and die on a configured server (!) which doesn't resolve (DNS). Just cry some.postpone-resolving
Part of fixing RADSECPROXY-30.
Diffstat (limited to 'common.h')
-rw-r--r--common.h16
1 files changed, 16 insertions, 0 deletions
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: */