blob: 90ba7dc324156dcb435d5a6ecf49b671d6133bc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef DNS_H
#define DNS_H
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
namespace DNS {
void start();
void stop();
int makeQuery(const char *name);
void closeQuery(int id);
bool checkQuery(int id, in_addr *pResult, bool *pIsError);
}
#endif /* DNS_H */
|