Browse Source

Added DNS resolver configuration option.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
6cd0fa5807
2 changed files with 18 additions and 0 deletions
  1. 10
    0
      src/config.h
  2. 8
    0
      src/core/config.c

+ 10
- 0
src/config.h View File

64
 
64
 
65
 /* @END isa.h */
65
 /* @END isa.h */
66
 
66
 
67
+/* @BEGIN general.h
68
+ *
69
+ * Name resolution modules
70
+ *
71
+ */
72
+
73
+#define	DNS_RESOLVER		/* DNS resolver */
74
+
75
+/* @END general.h */
76
+
67
 /* @BEGIN general.h
77
 /* @BEGIN general.h
68
  *
78
  *
69
  * Obscure configuration options
79
  * Obscure configuration options

+ 8
- 0
src/core/config.c View File

169
 #ifdef RELOCATE
169
 #ifdef RELOCATE
170
 REQUIRE_OBJECT ( relocate );
170
 REQUIRE_OBJECT ( relocate );
171
 #endif
171
 #endif
172
+
173
+/*
174
+ * Drag in any required resolvers
175
+ *
176
+ */
177
+#ifdef DNS_RESOLVER
178
+REQUIRE_OBJECT ( dns_resolver );
179
+#endif

Loading…
Cancel
Save