%token IPADDR IP6ADDR EMAIL TIME AUTO GARBAGE %{ #include "config.h" #ifdef HAVE_SYS_CDEFS_H #include #ifdef __RCSID __RCSID("$Id: dump_yacc.y,v 1.18.2.1 2006/11/07 05:12:11 manu Exp $"); #endif #endif #include #include #include #include "conf.h" #include "pending.h" #include "autowhite.h" int dump_lex(void); void dump_error(char *); %} %union { struct sockaddr_in ipaddr; #ifdef AF_INET6 struct sockaddr_in6 ip6addr; #else struct sockaddr_in ip6addr; /* XXX: for dummy */ #endif char email[ADDRLEN + 1]; time_t time; } %type IPADDR; %type IP6ADDR; %type EMAIL; %type