2009-05-03 18:53:31 +00:00
|
|
|
#ifndef _DNS_H_
|
|
|
|
#define _DNS_H_
|
|
|
|
|
|
|
|
#include <network.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
#include <unistd.h> //usleep
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2009-07-30 05:41:12 +00:00
|
|
|
extern "C" {
|
2009-05-03 18:53:31 +00:00
|
|
|
#endif
|
|
|
|
|
2009-07-30 05:41:12 +00:00
|
|
|
u32 getipbyname(char *domain);
|
|
|
|
u32 getipbynamecached(char *domain);
|
2009-05-03 18:53:31 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _DNS_H_ */
|