2 * Copyright (C) 2011-2012 Reto Guadagnini
3 * Hochschule fuer Technik Rapperswil
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 #include <utils/debug.h>
21 #include "unbound_resolver.h"
23 typedef struct private_resolver_t private_resolver_t
;
26 * private data of a unbound_resolver_t object.
28 struct private_resolver_t
{
37 * query method implementation
39 METHOD(resolver_t
, query
, resolver_response_t
*,
40 private_resolver_t
*this, char *domain
, rr_class_t rr_class
,
48 * destroy method implementation
50 METHOD(resolver_t
, destroy
, void,
51 private_resolver_t
*this)
57 * Described in header.
59 resolver_t
*unbound_resolver_create()
61 private_resolver_t
*this;