#ifndef _CODNS_RESOLV_H_
#define _CODNS_RESOLV_H_

#include <netinet/in.h>

/* name lookup interface to CoDNS - blocking version */
int CoDNSGetHostByNameSync(const char *name, struct in_addr *res);

/* nonblocking version will be added soon */

#endif
