Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/bind9/dns
File: cert.h
/*
[0] Fix | Delete
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
[1] Fix | Delete
*
[2] Fix | Delete
* This Source Code Form is subject to the terms of the Mozilla Public
[3] Fix | Delete
* License, v. 2.0. If a copy of the MPL was not distributed with this
[4] Fix | Delete
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
[5] Fix | Delete
*
[6] Fix | Delete
* See the COPYRIGHT file distributed with this work for additional
[7] Fix | Delete
* information regarding copyright ownership.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
[11] Fix | Delete
#ifndef DNS_CERT_H
[12] Fix | Delete
#define DNS_CERT_H 1
[13] Fix | Delete
[14] Fix | Delete
/*! \file dns/cert.h */
[15] Fix | Delete
[16] Fix | Delete
#include <isc/lang.h>
[17] Fix | Delete
[18] Fix | Delete
#include <dns/types.h>
[19] Fix | Delete
[20] Fix | Delete
ISC_LANG_BEGINDECLS
[21] Fix | Delete
[22] Fix | Delete
isc_result_t
[23] Fix | Delete
dns_cert_fromtext(dns_cert_t *certp, isc_textregion_t *source);
[24] Fix | Delete
/*%<
[25] Fix | Delete
* Convert the text 'source' refers to into a certificate type.
[26] Fix | Delete
* The text may contain either a mnemonic type name or a decimal type number.
[27] Fix | Delete
*
[28] Fix | Delete
* Requires:
[29] Fix | Delete
*\li 'certp' is a valid pointer.
[30] Fix | Delete
*
[31] Fix | Delete
*\li 'source' is a valid text region.
[32] Fix | Delete
*
[33] Fix | Delete
* Returns:
[34] Fix | Delete
*\li #ISC_R_SUCCESS on success
[35] Fix | Delete
*\li #ISC_R_RANGE numeric type is out of range
[36] Fix | Delete
*\li #DNS_R_UNKNOWN mnemonic type is unknown
[37] Fix | Delete
*/
[38] Fix | Delete
[39] Fix | Delete
isc_result_t
[40] Fix | Delete
dns_cert_totext(dns_cert_t cert, isc_buffer_t *target);
[41] Fix | Delete
/*%<
[42] Fix | Delete
* Put a textual representation of certificate type 'cert' into 'target'.
[43] Fix | Delete
*
[44] Fix | Delete
* Requires:
[45] Fix | Delete
*\li 'cert' is a valid cert.
[46] Fix | Delete
*
[47] Fix | Delete
*\li 'target' is a valid text buffer.
[48] Fix | Delete
*
[49] Fix | Delete
* Ensures:
[50] Fix | Delete
*\li If the result is success:
[51] Fix | Delete
* The used space in 'target' is updated.
[52] Fix | Delete
*
[53] Fix | Delete
* Returns:
[54] Fix | Delete
*\li #ISC_R_SUCCESS on success
[55] Fix | Delete
*\li #ISC_R_NOSPACE target buffer is too small
[56] Fix | Delete
*/
[57] Fix | Delete
[58] Fix | Delete
ISC_LANG_ENDDECLS
[59] Fix | Delete
[60] Fix | Delete
#endif /* DNS_CERT_H */
[61] Fix | Delete
[62] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function