#ifndef RDNSSD_INCLUDED #define RDNSSD_INCLUDED #include #include #include /* htons ntohs */ #include /* struct sockaddr_in */ #include /* getservbyport */ /* if_indextoname and if_nametoindex */ #ifdef HAVE_IPHLPAPI_H #include /* Vista and newer */ #else #include #include #endif #ifdef HAVE_ST_SIN_LEN #define SIN_LEN(si) (si)->sin_len #else #define SIN_LEN(si) sizeof(struct sockaddr_in) #endif extern VALUE eDNSSDError; void dnssd_check_error_code(DNSServiceErrorType e); #endif /* RDNSSD_INCLUDED */