Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bind9/isccc
File: base64.h
/*
[0] Fix | Delete
* Portions 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
* Portions Copyright (C) 2001 Nominum, Inc.
[10] Fix | Delete
*
[11] Fix | Delete
* Permission to use, copy, modify, and/or distribute this software for any
[12] Fix | Delete
* purpose with or without fee is hereby granted, provided that the above
[13] Fix | Delete
* copyright notice and this permission notice appear in all copies.
[14] Fix | Delete
*
[15] Fix | Delete
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NOMINUM DISCLAIMS ALL
[16] Fix | Delete
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
[17] Fix | Delete
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY
[18] Fix | Delete
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
[19] Fix | Delete
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
[20] Fix | Delete
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
[21] Fix | Delete
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
[22] Fix | Delete
*/
[23] Fix | Delete
[24] Fix | Delete
[25] Fix | Delete
#ifndef ISCCC_BASE64_H
[26] Fix | Delete
#define ISCCC_BASE64_H 1
[27] Fix | Delete
[28] Fix | Delete
/*! \file isccc/base64.h */
[29] Fix | Delete
[30] Fix | Delete
#include <isc/lang.h>
[31] Fix | Delete
#include <isccc/types.h>
[32] Fix | Delete
[33] Fix | Delete
ISC_LANG_BEGINDECLS
[34] Fix | Delete
[35] Fix | Delete
/***
[36] Fix | Delete
*** Functions
[37] Fix | Delete
***/
[38] Fix | Delete
[39] Fix | Delete
isc_result_t
[40] Fix | Delete
isccc_base64_encode(isccc_region_t *source, int wordlength,
[41] Fix | Delete
const char *wordbreak, isccc_region_t *target);
[42] Fix | Delete
/*%<
[43] Fix | Delete
* Convert data into base64 encoded text.
[44] Fix | Delete
*
[45] Fix | Delete
* Notes:
[46] Fix | Delete
*\li The base64 encoded text in 'target' will be divided into
[47] Fix | Delete
* words of at most 'wordlength' characters, separated by
[48] Fix | Delete
* the 'wordbreak' string. No parentheses will surround
[49] Fix | Delete
* the text.
[50] Fix | Delete
*
[51] Fix | Delete
* Requires:
[52] Fix | Delete
*\li 'source' is a region containing binary data.
[53] Fix | Delete
*\li 'target' is a text region containing available space.
[54] Fix | Delete
*\li 'wordbreak' points to a null-terminated string of
[55] Fix | Delete
* zero or more whitespace characters.
[56] Fix | Delete
*/
[57] Fix | Delete
[58] Fix | Delete
isc_result_t
[59] Fix | Delete
isccc_base64_decode(const char *cstr, isccc_region_t *target);
[60] Fix | Delete
/*%<
[61] Fix | Delete
* Decode a null-terminated base64 string.
[62] Fix | Delete
*
[63] Fix | Delete
* Requires:
[64] Fix | Delete
*\li 'cstr' is non-null.
[65] Fix | Delete
*\li 'target' is a valid region.
[66] Fix | Delete
*
[67] Fix | Delete
* Returns:
[68] Fix | Delete
*\li #ISC_R_SUCCESS -- the entire decoded representation of 'cstring'
[69] Fix | Delete
* fit in 'target'.
[70] Fix | Delete
*\li #ISC_R_BADBASE64 -- 'cstr' is not a valid base64 encoding.
[71] Fix | Delete
*\li #ISC_R_NOSPACE -- 'target' is not big enough.
[72] Fix | Delete
*/
[73] Fix | Delete
[74] Fix | Delete
ISC_LANG_ENDDECLS
[75] Fix | Delete
[76] Fix | Delete
#endif /* ISCCC_BASE64_H */
[77] Fix | Delete
[78] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function