rfc1035.h
Go to the documentation of this file.
Definition: rfc1035.h:37
SQUIDCEXTERN ssize_t rfc1035BuildAQuery(const char *hostname, char *buf, size_t sz, unsigned short qid, rfc1035_query *query, ssize_t edns_sz)
Definition: rfc1035.cc:658
SQUIDCEXTERN int rfc1035QueryCompare(const rfc1035_query *, const rfc1035_query *)
Definition: rfc1035.cc:550
SQUIDCEXTERN ssize_t rfc1035BuildPTRQuery(const struct in_addr, char *buf, size_t sz, unsigned short qid, rfc1035_query *query, ssize_t edns_sz)
Definition: rfc1035.cc:697
SQUIDCEXTERN void rfc1035SetQueryID(char *, unsigned short qid)
Definition: rfc1035.cc:739
SQUIDCEXTERN void rfc1035RRDestroy(rfc1035_rr **rr, int n)
Definition: rfc1035.cc:483
SQUIDCEXTERN int rfc1035HeaderPack(char *buf, size_t sz, rfc1035_message *hdr)
Definition: rfc1035.cc:56
SQUIDCEXTERN int rfc1035QuestionPack(char *buf, size_t sz, const char *name, const unsigned short type, const unsigned short _class)
Definition: rfc1035.cc:149
SQUIDCEXTERN int rfc1035MessageUnpack(const char *buf, size_t sz, rfc1035_message **answer)
Definition: rfc1035.cc:584
SQUIDCEXTERN int rfc1035HeaderUnpack(const char *buf, size_t sz, unsigned int *off, rfc1035_message *h)
Definition: rfc1035.cc:180
SQUIDCEXTERN void rfc1035MessageDestroy(rfc1035_message **message)
Definition: rfc1035.cc:530
SQUIDCEXTERN int rfc1035RRPack(char *buf, size_t sz, const rfc1035_rr *RR)
Definition: rfc1035.cc:325
Definition: rfc1035.h:55
Definition: rfc1035.h:48