Displaying 2 results from an estimated 2 matches for "_resolver_mutex".
2004 Aug 06
1
ices compile problems
I got libshout Ices out of the CVS last night at about 7:30. I got libshout compiled fine but then when i went compiled ices it gave me the following message:
resolver.c:23:20: thread.h: No such file or directory
resolver.c:41: parse error before "_resolver_mutex"
resolver.c:41: warning: data definition has no type or storage class
make[2]: *** [resolver.lo] Error 1
make[2]: Leaving directory `/usr/src/ices/src/net'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ices/src'
make: *** [all-recursive] Error 1
<p>ca...
2004 Aug 06
3
src/net/resolver.c patches for better IPv6 resolution
...ike to know what IPv6-capable
OSen aren't able to get proper results -- it appears to work on my
FreeBSD machine... Did I say I have no clue what I'm doing yet?
<p>--- resolver.c-ORIG Mon Aug 5 16:48:03 2002
+++ resolver.c Sun Sep 29 19:43:54 2002
@@ -42,6 +42,13 @@
static mutex_t _resolver_mutex;
static int _initialized = 0;
+/* ugly hacks */
+struct in_addr inp;
+union {
+ struct in_addr v4addr;
+ struct in6_addr v6addr;
+} addr_u;
+
char *resolver_getname(const char *ip, char *buff, int len)
{
if (!_isip(ip)) {
@@ -65,18 +72,11 @@
static int _isip(const char *what)
{
#if...