]> git.ipfire.org Git - thirdparty/strongswan.git/blame - src/libcharon/plugins/android_dns/android_dns_handler.h
Update copyright headers after acquisition by secunet
[thirdparty/strongswan.git] / src / libcharon / plugins / android_dns / android_dns_handler.h
CommitLineData
55699f03 1/*
4437914a 2 * Copyright (C) 2010-2011 Tobias Brunner
55699f03 3 * Copyright (C) 2010 Martin Willi
19ef2aec
TB
4 *
5 * Copyright (C) secunet Security Networks AG
55699f03
MW
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * for more details.
16 */
17
18/**
9804fcce
TB
19 * @defgroup android_dns_handler android_dns_handler
20 * @{ @ingroup android_dns
55699f03
MW
21 */
22
9804fcce
TB
23#ifndef ANDROID_DNS_HANDLER_H_
24#define ANDROID_DNS_HANDLER_H_
55699f03
MW
25
26#include <attributes/attribute_handler.h>
27
9804fcce 28typedef struct android_dns_handler_t android_dns_handler_t;
55699f03
MW
29
30/**
31 * Android specific DNS attribute handler.
32 */
9804fcce 33struct android_dns_handler_t {
55699f03
MW
34
35 /**
36 * Implements attribute_handler_t.
37 */
38 attribute_handler_t handler;
39
40 /**
9804fcce 41 * Destroy a android_dns_handler_t.
55699f03 42 */
9804fcce 43 void (*destroy)(android_dns_handler_t *this);
55699f03
MW
44};
45
46/**
9804fcce 47 * Create an android_dns_handler_t instance.
55699f03 48 */
9804fcce 49android_dns_handler_t *android_dns_handler_create();
55699f03 50
9804fcce 51#endif /** ANDROID_DNS_HANDLER_H_ @}*/