1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
  
     | 
    
      /* Copyright (C) 2000-2013 Boris Wesslowski */
/* $Id: resolve.h 731 2013-05-17 14:15:23Z bw $ */
#ifndef _RESOLVE_H
#define _RESOLVE_H
char *resolve_protocol(int proto);
char *resolve_service(int port, char *proto);
char *resolve_address(struct in6_addr ip);
void init_dns_cache(struct in6_addr *ip, char *hostname);
#ifdef HAVE_ADNS
enum {
  RES_ADNS_PC,
  RES_ADNS_HS
};
void adns_preresolve(unsigned char mode);
#endif
struct in6_addr *resolve_hostname_from_cache(char *name);
#endif
 
     |