forward.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef _SQUID_SRC_DNS_FORWARD_H
10 #define _SQUID_SRC_DNS_FORWARD_H
11 
12 #include "ip/forward.h"
13 
14 class rfc1035_rr;
15 
16 typedef void IDNSCB(void *cbdata, const rfc1035_rr *answer, const int recordsInAnswer, const char *error, bool lastAnswer);
17 
19 namespace Dns
20 {
21 
22 class LookupDetails;
23 
24 void Init(void);
25 
26 } // namespace Dns
27 
28 // internal DNS client API
29 void idnsALookup(const char *, IDNSCB *, void *);
30 void idnsPTRLookup(const Ip::Address &, IDNSCB *, void *);
31 
32 #endif /* _SQUID_SRC_DNS_FORWARD_H */
33 
void Init(void)
Definition: cbdata.cc:60
void error(char *format,...)
encapsulates DNS lookup results
Definition: LookupDetails.h:20
void IDNSCB(void *cbdata, const rfc1035_rr *answer, const int recordsInAnswer, const char *error, bool lastAnswer)
Definition: forward.h:16
void idnsPTRLookup(const Ip::Address &, IDNSCB *, void *)
void idnsALookup(const char *, IDNSCB *, void *)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors