Wang Lei | 1a4240f | 2010-08-04 15:16:33 +0100 | [diff] [blame] | 1 | /* DNS resolver key type |
| 2 | * |
| 3 | * Copyright (C) 2010 Wang Lei. All Rights Reserved. |
| 4 | * Written by Wang Lei (wang840925@gmail.com) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * as published by the Free Software Foundation; either version |
| 9 | * 2 of the License, or (at your option) any later version. |
| 10 | */ |
| 11 | |
| 12 | #ifndef _KEYS_DNS_RESOLVER_TYPE_H |
| 13 | #define _KEYS_DNS_RESOLVER_TYPE_H |
| 14 | |
| 15 | #include <linux/key-type.h> |
| 16 | |
| 17 | extern struct key_type key_type_dns_resolver; |
| 18 | |
| 19 | extern int request_dns_resolver_key(const char *description, |
| 20 | const char *callout_info, |
| 21 | char **data); |
| 22 | |
| 23 | #endif /* _KEYS_DNS_RESOLVER_TYPE_H */ |