private.h (234010) | private.h (254897) |
---|---|
1/* | 1/* |
2 * Copyright (C) 2009, 2012 Internet Systems Consortium, Inc. ("ISC") | 2 * Copyright (C) 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC") |
3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 9 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 11 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 13 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14 * PERFORMANCE OF THIS SOFTWARE. 15 */ 16 | 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 9 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 11 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 13 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14 * PERFORMANCE OF THIS SOFTWARE. 15 */ 16 |
17/* $Id$ */ | 17/* $Id: private.h,v 1.5 2011/10/28 12:20:31 tbox Exp $ */ |
18 19#include <isc/lang.h> 20#include <isc/types.h> 21 22#include <dns/types.h> 23#include <dns/db.h> 24 25#ifndef DNS_PRIVATE_H --- 19 unchanged lines hidden (view full) --- 45 * \li 'build_nsec' is a pointer to a isc_boolean_t or NULL. 46 * \li 'build_nsec3' is a pointer to a isc_boolean_t or NULL. 47 * 48 * Returns: 49 * \li ISC_R_SUCCESS, 'build_nsec' and 'build_nsec3' will be valid. 50 * \li other on error 51 */ 52 | 18 19#include <isc/lang.h> 20#include <isc/types.h> 21 22#include <dns/types.h> 23#include <dns/db.h> 24 25#ifndef DNS_PRIVATE_H --- 19 unchanged lines hidden (view full) --- 45 * \li 'build_nsec' is a pointer to a isc_boolean_t or NULL. 46 * \li 'build_nsec3' is a pointer to a isc_boolean_t or NULL. 47 * 48 * Returns: 49 * \li ISC_R_SUCCESS, 'build_nsec' and 'build_nsec3' will be valid. 50 * \li other on error 51 */ 52 |
53isc_result_t 54dns_private_totext(dns_rdata_t *privaterdata, isc_buffer_t *buffer); 55/*%< 56 * Convert a private-type RR 'privaterdata' to human-readable form, 57 * and place the result in 'buffer'. The text should indicate 58 * which action the private-type record specifies and whether the 59 * action has been completed. 60 * 61 * Requires: 62 * \li 'privaterdata' is a valid rdata containing at least five bytes 63 * \li 'buffer' is a valid buffer 64 * 65 * Returns: 66 * \li ISC_R_SUCCESS 67 * \li other on error 68 */ 69 |
|
53ISC_LANG_ENDDECLS 54 55#endif | 70ISC_LANG_ENDDECLS 71 72#endif |