this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Re-integrate darling-resolver into libinfo

I deleted it when I updated libinfo, but forgot to add the Darling changes back in

+13
+4
src/libinfo/lookup.subproj/search_module.c
··· 960 960 #ifdef DS_AVAILABLE 961 961 "ds", 962 962 #endif 963 + #ifdef DARLING 964 + "darling-resolver", 965 + #else 963 966 "mdns", 967 + #endif 964 968 "file", 965 969 }; 966 970
+2
src/libinfo/lookup.subproj/si_getaddrinfo.c
··· 108 108 109 109 checkit = 1; 110 110 111 + #ifndef DARLING 111 112 if (net_config_token < 0) 112 113 { 113 114 status = notify_register_check(kNotifySCNetworkChange, &net_config_token); ··· 119 120 status = notify_check(net_config_token, &checkit); 120 121 if (status != 0) checkit = 1; 121 122 } 123 + #endif 122 124 123 125 status = 0; 124 126
+7
src/libinfo/lookup.subproj/si_module.c
··· 88 88 si_mod_t *si_module_static_ds(void); 89 89 #endif 90 90 si_mod_t *si_module_static_mdns(void); 91 + #ifdef DARLING 92 + si_mod_t *si_module_static_darling(void); 93 + #endif 91 94 92 95 static void * 93 96 si_mod_dlsym(void *so, const char *name, const char *sym) ··· 191 194 #ifdef DS_AVAILABLE 192 195 { "ds", si_module_static_ds, NULL }, 193 196 #endif 197 + #ifdef DARLING 198 + { "darling-resolver", si_module_static_darling, NULL }, 199 + #else 194 200 { "mdns", si_module_static_mdns, NULL }, 201 + #endif 195 202 { NULL, NULL }, 196 203 }; 197 204