1 /* atmres.h - Common definitions and prototypes for resolver functions */
3 /* Written 1996,1998 by Werner Almesberger, EPFL-LRC/ICA */
9 #include <arpa/nameser.h>
10 #include <linux/atm.h>
13 /* Some #defines that may be needed if ANS isn't installed on that system */
25 /* Return codes for text2atm and atm2text */
28 #define FATAL -1 /* must be -1 */
31 int ans_byname(const char *text,struct sockaddr_atmsvc *addr,int length,
33 int ans_byaddr(char *buffer,int length,const struct sockaddr_atmsvc *addr,