cctools
domain_name_cache.h
Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
00003 Copyright (C) 2005- The University of Notre Dame
00004 This software is distributed under the GNU General Public License.
00005 See the file COPYING for details.
00006 */
00007 
00008 #ifndef DOMAIN_NAME_CACHE_H
00009 #define DOMAIN_NAME_CACHE_H
00010 
00011 #include "domain_name.h"
00012 
00028 int domain_name_cache_guess(char *name);
00029 
00039 int domain_name_cache_guess_short(char *name);
00040 
00047 int domain_name_cache_lookup(const char *name, char *addr);
00048 
00055 int domain_name_cache_lookup_reverse(const char *addr, char *name);
00056 
00063 int domain_name_cache_canonical(const char *name_or_addr, char *cname);
00064 
00065 #endif