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