1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-26 06:56:05 +03:00

#3 Clean up headerfile

This commit is contained in:
Erik Ekman 2007-02-05 17:49:01 +00:00
parent cb66fd68a2
commit 1cba145310

View File

@ -24,26 +24,10 @@ typedef enum {
QR_ANSWER = 1 QR_ANSWER = 1
} qr_t; } qr_t;
void dns_set_topdomain(const char*); int dns_build_hostname(char *, size_t, const char *, const size_t, const char *);
int dns_sending();
void dns_handle_tun(int, char *, int);
void dns_ping(int);
void dns_login(int, char *, int);
int dns_read(int, char *, int);
int dns_encode_hostname(const char *, char *, int); int dns_encode_hostname(const char *, char *, int);
int dns_encode(char *, size_t, struct query *, qr_t, char *, size_t); int dns_encode(char *, size_t, struct query *, qr_t, char *, size_t);
int dns_decode(char *, size_t, struct query *, qr_t, char *, size_t); int dns_decode(char *, size_t, struct query *, qr_t, char *, size_t);
int dns_build_hostname(char *, size_t, const char *, const size_t, const char *);
void dnsd_send(int, struct query*, char *, int);
int dnsd_haspacket();
int dnsd_hasack();
void dnsd_forceack(int);
void dnsd_queuepacket(const char *, const int);
int dns_parse_reply(char *, int, char *, int);
#endif /* _DNS_H_ */ #endif /* _DNS_H_ */