Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bind9/isccc
File: sexpr.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_SEXPR_H
[26] Fix | Delete
#define ISCCC_SEXPR_H 1
[27] Fix | Delete
[28] Fix | Delete
/*! \file isccc/sexpr.h */
[29] Fix | Delete
[30] Fix | Delete
#include <stdbool.h>
[31] Fix | Delete
#include <stdio.h>
[32] Fix | Delete
[33] Fix | Delete
#include <isc/lang.h>
[34] Fix | Delete
#include <isccc/types.h>
[35] Fix | Delete
[36] Fix | Delete
ISC_LANG_BEGINDECLS
[37] Fix | Delete
[38] Fix | Delete
/*% dotted pair structure */
[39] Fix | Delete
struct isccc_dottedpair {
[40] Fix | Delete
isccc_sexpr_t *car;
[41] Fix | Delete
isccc_sexpr_t *cdr;
[42] Fix | Delete
};
[43] Fix | Delete
[44] Fix | Delete
/*% iscc_sexpr structure */
[45] Fix | Delete
struct isccc_sexpr {
[46] Fix | Delete
unsigned int type;
[47] Fix | Delete
union {
[48] Fix | Delete
char * as_string;
[49] Fix | Delete
isccc_dottedpair_t as_dottedpair;
[50] Fix | Delete
isccc_region_t as_region;
[51] Fix | Delete
} value;
[52] Fix | Delete
};
[53] Fix | Delete
[54] Fix | Delete
#define ISCCC_SEXPRTYPE_NONE 0x00 /*%< Illegal. */
[55] Fix | Delete
#define ISCCC_SEXPRTYPE_T 0x01
[56] Fix | Delete
#define ISCCC_SEXPRTYPE_STRING 0x02
[57] Fix | Delete
#define ISCCC_SEXPRTYPE_DOTTEDPAIR 0x03
[58] Fix | Delete
#define ISCCC_SEXPRTYPE_BINARY 0x04
[59] Fix | Delete
[60] Fix | Delete
#define ISCCC_SEXPR_CAR(s) (s)->value.as_dottedpair.car
[61] Fix | Delete
#define ISCCC_SEXPR_CDR(s) (s)->value.as_dottedpair.cdr
[62] Fix | Delete
[63] Fix | Delete
isccc_sexpr_t *
[64] Fix | Delete
isccc_sexpr_cons(isccc_sexpr_t *car, isccc_sexpr_t *cdr);
[65] Fix | Delete
[66] Fix | Delete
isccc_sexpr_t *
[67] Fix | Delete
isccc_sexpr_tconst(void);
[68] Fix | Delete
[69] Fix | Delete
isccc_sexpr_t *
[70] Fix | Delete
isccc_sexpr_fromstring(const char *str);
[71] Fix | Delete
[72] Fix | Delete
isccc_sexpr_t *
[73] Fix | Delete
isccc_sexpr_frombinary(const isccc_region_t *region);
[74] Fix | Delete
[75] Fix | Delete
void
[76] Fix | Delete
isccc_sexpr_free(isccc_sexpr_t **sexprp);
[77] Fix | Delete
[78] Fix | Delete
void
[79] Fix | Delete
isccc_sexpr_print(isccc_sexpr_t *sexpr, FILE *stream);
[80] Fix | Delete
[81] Fix | Delete
isccc_sexpr_t *
[82] Fix | Delete
isccc_sexpr_car(isccc_sexpr_t *list);
[83] Fix | Delete
[84] Fix | Delete
isccc_sexpr_t *
[85] Fix | Delete
isccc_sexpr_cdr(isccc_sexpr_t *list);
[86] Fix | Delete
[87] Fix | Delete
void
[88] Fix | Delete
isccc_sexpr_setcar(isccc_sexpr_t *pair, isccc_sexpr_t *car);
[89] Fix | Delete
[90] Fix | Delete
void
[91] Fix | Delete
isccc_sexpr_setcdr(isccc_sexpr_t *pair, isccc_sexpr_t *cdr);
[92] Fix | Delete
[93] Fix | Delete
isccc_sexpr_t *
[94] Fix | Delete
isccc_sexpr_addtolist(isccc_sexpr_t **l1p, isccc_sexpr_t *l2);
[95] Fix | Delete
[96] Fix | Delete
bool
[97] Fix | Delete
isccc_sexpr_listp(isccc_sexpr_t *sexpr);
[98] Fix | Delete
[99] Fix | Delete
bool
[100] Fix | Delete
isccc_sexpr_emptyp(isccc_sexpr_t *sexpr);
[101] Fix | Delete
[102] Fix | Delete
bool
[103] Fix | Delete
isccc_sexpr_stringp(isccc_sexpr_t *sexpr);
[104] Fix | Delete
[105] Fix | Delete
bool
[106] Fix | Delete
isccc_sexpr_binaryp(isccc_sexpr_t *sexpr);
[107] Fix | Delete
[108] Fix | Delete
char *
[109] Fix | Delete
isccc_sexpr_tostring(isccc_sexpr_t *sexpr);
[110] Fix | Delete
[111] Fix | Delete
isccc_region_t *
[112] Fix | Delete
isccc_sexpr_tobinary(isccc_sexpr_t *sexpr);
[113] Fix | Delete
[114] Fix | Delete
ISC_LANG_ENDDECLS
[115] Fix | Delete
[116] Fix | Delete
#endif /* ISCCC_SEXPR_H */
[117] Fix | Delete
[118] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function