#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>

/* $Id: r.h,v 1.2 2006/04/27 00:20:45 yuuji Exp yuuji $ */

#define DNS_SOFT	-1
#define DNS_HARD	-2

#define MAXIPBYTES	(sizeof(struct in6_addr))

typedef struct {
  int len;
  char address[16];
} ipaddress;

int domaincheck(char *);
int parseipaddr(char *, void*);
