resolve.h

00001 #ifndef NET__RESOLVE__H__
00002 #define NET__RESOLVE__H__
00003 
00004 #include "ipv4.h"
00005 
00010 #define RESOLVE_OK 0
00011 
00012 #define RESOLVE_NOTFOUND 1
00013 
00014 #define RESOLVE_NOADDR 2
00015 
00016 #define RESOLVE_NSERROR 3
00017 
00018 #define RESOLVE_TEMPFAIL 4
00019 
00020 extern const char* resolve_ipv4addr(const ipv4addr* addr);
00021 extern int resolve_ipv4name_n(const char* name, ipv4addr* addr, int maxaddrs);
00023 #define resolve_ipv4name(N,A) resolve_ipv4name_n((N),(A),1)
00024 extern int resolve_error(void);
00025 
00028 #endif

Generated on Thu Feb 19 11:11:50 2009 for bglibs by  doxygen 1.5.4