masqmail
diff src/lookup.h @ 200:116b0269c934
reworked resolvtest; let it build; refactored in lookup.c
the resolvtest helper and code test tool was available in the code
but did not get built
I moved it to resolvtest.c and included it into the build process
the define RESOLV_TEST was removed
author | meillo@marmaro.de |
---|---|
date | Fri, 16 Jul 2010 12:53:07 +0200 |
parents | 26e34ae9a3e3 |
children | 41958685480d |
line diff
1.1 --- a/src/lookup.h Fri Jul 16 12:39:14 2010 +0200 1.2 +++ b/src/lookup.h Fri Jul 16 12:53:07 2010 +0200 1.3 @@ -30,3 +30,4 @@ 1.4 GList *resolve_dns_a(GList * list, gchar * domain); 1.5 GList *resolve_dns_mx(GList * list, gchar * domain); 1.6 GList *resolve_byname(GList * list, gchar * domain); 1.7 +int dns_look_ip(gchar * domain, guint32 * ip);