/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | base32.h | 43 const char *wordbreak, isc_buffer_t *target); 46 const char *wordbreak, isc_buffer_t *target); 51 *\li The base32 encoded text in 'target' will be divided into 58 *\li 'target' is a text buffer containing available space 63 *\li target will contain the base32 encoded version of the data 64 * in source. The 'used' pointer in target will be advanced as 69 isc_base32_decodestring(const char *cstr, isc_buffer_t *target); 71 isc_base32hex_decodestring(const char *cstr, isc_buffer_t *target); 77 *\li 'target' is a valid buffer. 81 * fit in 'target' [all...] |
H A D | base64.h | 36 const char *wordbreak, isc_buffer_t *target); 41 *\li The base64 encoded text in 'target' will be divided into 48 *\li 'target' is a text buffer containing available space 53 *\li target will contain the base64 encoded version of the data 54 * in source. The 'used' pointer in target will be advanced as 59 isc_base64_decodestring(const char *cstr, isc_buffer_t *target); 65 *\li 'target' is a valid buffer. 69 * fit in 'target'. 79 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length); 85 *\li 'target' i [all...] |
H A D | hex.h | 36 const char *wordbreak, isc_buffer_t *target); 41 *\li The hex encoded text in 'target' will be divided into 48 *\li 'target' is a text buffer containing available space 53 *\li target will contain the hex encoded version of the data 54 * in source. The 'used' pointer in target will be advanced as 59 isc_hex_decodestring(const char *cstr, isc_buffer_t *target); 65 *\li 'target' is a valid buffer. 69 * fit in 'target'. 79 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length); 85 *\li 'target' i [all...] |
H A D | string.h | 57 isc_string_copy(char *target, size_t size, const char *source); 59 * Copy the string pointed to by 'source' to 'target' which is a 63 * 'target' is a pointer to a char[] of at least 'size' bytes. 69 * 'target' will be a NUL terminated string of no more 73 * 'target' is undefined. 76 * ISC_R_SUCCESS -- 'source' was successfully copied to 'target'. 77 * ISC_R_NOSPACE -- 'source' could not be copied since 'target' 82 isc_string_copy_truncate(char *target, size_t size, const char *source); 84 * Copy the string pointed to by 'source' to 'target' which is a 88 * 'target' i [all...] |
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | time.h | 39 dns_time64_fromtext(const char *source, isc_int64_t *target); 43 * Store the count at 'target'. 47 dns_time32_fromtext(const char *source, isc_uint32_t *target); 55 dns_time64_totext(isc_int64_t value, isc_buffer_t *target); 58 * a YYYYMMDDHHMMSS text representation and append it to 'target'. 62 dns_time32_totext(isc_uint32_t value, isc_buffer_t *target);
|
H A D | opcode.h | 31 isc_result_t dns_opcode_totext(dns_opcode_t opcode, isc_buffer_t *target); 33 * Put a textual representation of error 'opcode' into 'target'. 38 *\li 'target' is a valid text buffer. 42 * The used space in 'target' is updated. 46 *\li #ISC_R_NOSPACE target buffer is too small
|
H A D | rcode.h | 45 isc_result_t dns_rcode_totext(dns_rcode_t rcode, isc_buffer_t *target); 47 * Put a textual representation of error 'rcode' into 'target'. 52 *\li 'target' is a valid text buffer. 56 * The used space in 'target' is updated. 60 *\li #ISC_R_NOSPACE target buffer is too small 78 isc_result_t dns_tsigrcode_totext(dns_rcode_t rcode, isc_buffer_t *target); 80 * Put a textual representation of TSIG/TKEY error 'rcode' into 'target'. 85 *\li 'target' is a valid text buffer. 89 * The used space in 'target' is updated. 93 *\li #ISC_R_NOSPACE target buffe [all...] |
/bind-9.6-ESV-R11/lib/isccc/ |
H A D | base64.c | 49 const char *wordbreak, isccc_region_t *target) 57 isc_buffer_init(&tb, target->rstart, target->rend - target->rstart); 63 target->rstart = isc_buffer_used(&tb); 68 isccc_base64_decode(const char *cstr, isccc_region_t *target) { argument 72 isc_buffer_init(&b, target->rstart, target->rend - target->rstart); 76 target 48 isccc_base64_encode(isccc_region_t *source, int wordlength, const char *wordbreak, isccc_region_t *target) argument [all...] |
/bind-9.6-ESV-R11/lib/isc/ |
H A D | base32.c | 43 str_totext(const char *source, isc_buffer_t *target); 46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length); 57 isc_buffer_t *target, const char base[]) 72 RETERR(str_totext(buf, target)); 81 RETERR(str_totext(buf, target)); 89 RETERR(str_totext(buf, target)); 98 RETERR(str_totext(buf, target)); 104 RETERR(str_totext(buf, target)); 112 RETERR(str_totext(wordbreak, target)); 122 const char *wordbreak, isc_buffer_t *target) 56 base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target, const char base[]) argument 121 isc_base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument 128 isc_base32hex_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument 140 isc_buffer_t *target; /*%< Buffer for resulting binary data */ member in struct:__anon148 149 base32_decode_init(base32_decode_ctx_t *ctx, int length, const char base[], isc_buffer_t *target) argument 255 base32_tobuffer(isc_lex_t *lexer, const char base[], isc_buffer_t *target, int length) argument 287 isc_base32_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument 292 isc_base32hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument 297 base32_decodestring(const char *cstr, const char base[], isc_buffer_t *target) argument 314 isc_base32_decodestring(const char *cstr, isc_buffer_t *target) argument 319 isc_base32hex_decodestring(const char *cstr, isc_buffer_t *target) argument 324 base32_decoderegion(isc_region_t *source, const char base[], isc_buffer_t *target) argument 338 isc_base32_decoderegion(isc_region_t *source, isc_buffer_t *target) argument 343 isc_base32hex_decoderegion(isc_region_t *source, isc_buffer_t *target) argument 348 str_totext(const char *source, isc_buffer_t *target) argument 364 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument [all...] |
H A D | hex.c | 43 str_totext(const char *source, isc_buffer_t *target); 46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length); 52 const char *wordbreak, isc_buffer_t *target) 64 RETERR(str_totext(buf, target)); 72 RETERR(str_totext(wordbreak, target)); 83 isc_buffer_t *target; /*%< Buffer for resulting binary data */ member in struct:__anon156 89 hex_decode_init(hex_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument 93 ctx->target = target; 107 RETERR(mem_tobuffer(ctx->target, 51 isc_hex_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument 129 isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument 159 isc_hex_decodestring(const char *cstr, isc_buffer_t *target) argument 176 str_totext(const char *source, isc_buffer_t *target) argument 192 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument [all...] |
H A D | string.c | 126 isc_string_copy(char *target, size_t size, const char *source) { argument 129 if (strlcpy(target, source, size) >= size) { 130 memset(target, ISC_STRING_MAGIC, size); 134 ENSURE(strlen(target) < size); 140 isc_string_copy_truncate(char *target, size_t size, const char *source) { argument 143 strlcpy(target, source, size); 145 ENSURE(strlen(target) < size); 149 isc_string_append(char *target, size_t size, const char *source) { argument 151 REQUIRE(strlen(target) < size); 153 if (strlcat(target, sourc 164 isc_string_append_truncate(char *target, size_t size, const char *source) argument 174 isc_string_printf(char *target, size_t size, const char *format, ...) argument 195 isc_string_printf_truncate(char *target, size_t size, const char *format, ...) argument 211 char *target; local [all...] |
H A D | bitstring.c | 82 isc_bitstring_t *target, unsigned int tbitpos, 89 * the 'n' bits of 'target' starting at 'tbitpos'. 93 REQUIRE(VALID_BITSTRING(target)); 94 REQUIRE(source->lsb0 == target->lsb0); 103 if (target->lsb0) { 104 REQUIRE(tbitpos <= target->length); 105 tbitpos = PADDED(target->size) - tbitpos; 109 REQUIRE(tlast <= target->size); 111 if (tlast > target->length) 112 target 81 isc_bitstring_copy(isc_bitstring_t *source, unsigned int sbitpos, isc_bitstring_t *target, unsigned int tbitpos, unsigned int n) argument [all...] |
H A D | base64.c | 43 str_totext(const char *source, isc_buffer_t *target); 46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length); 54 const char *wordbreak, isc_buffer_t *target) 70 RETERR(str_totext(buf, target)); 78 RETERR(str_totext(wordbreak, target)); 87 RETERR(str_totext(buf, target)); 93 RETERR(str_totext(buf, target)); 104 isc_buffer_t *target; /*%< Buffer for resulting binary data */ member in struct:__anon149 111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument 116 ctx->target 53 isc_base64_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument 180 isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) argument 210 isc_base64_decodestring(const char *cstr, isc_buffer_t *target) argument 227 str_totext(const char *source, isc_buffer_t *target) argument 243 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument [all...] |
/bind-9.6-ESV-R11/lib/isccc/include/isccc/ |
H A D | base64.h | 50 const char *wordbreak, isccc_region_t *target); 55 *\li The base64 encoded text in 'target' will be divided into 62 *\li 'target' is a text region containing available space. 68 isccc_base64_decode(const char *cstr, isccc_region_t *target); 74 *\li 'target' is a valid region. 78 * fit in 'target'. 80 *\li #ISC_R_NOSPACE -- 'target' is not big enough.
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | listenlist.c | 36 dns_acl_t *acl, ns_listenelt_t **target) 39 REQUIRE(target != NULL && *target == NULL); 47 *target = elt; 59 ns_listenlist_create(isc_mem_t *mctx, ns_listenlist_t **target) { argument 61 REQUIRE(target != NULL && *target == NULL); 68 *target = list; 86 ns_listenlist_attach(ns_listenlist_t *source, ns_listenlist_t **target) { argument 89 *target 35 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, dns_acl_t *acl, ns_listenelt_t **target) argument 103 ns_listenlist_default(isc_mem_t *mctx, in_port_t port, isc_boolean_t enabled, ns_listenlist_t **target) argument [all...] |
/bind-9.6-ESV-R11/lib/dns/rdata/generic/ |
H A D | rrsig_46.c | 61 RETERR(uint16_tobuffer(covered, target)); 69 RETERR(mem_tobuffer(target, &c, 1)); 79 RETERR(mem_tobuffer(target, &c, 1)); 86 RETERR(uint32_tobuffer(token.value.as_ulong, target)); 107 RETERR(uint32_tobuffer(time_expire, target)); 128 RETERR(uint32_tobuffer(time_signed, target)); 135 RETERR(uint16_tobuffer(token.value.as_ulong, target)); 145 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target)); 150 return (isc_base64_tobuffer(lexer, target, -1)); 179 RETERR(dns_rdatatype_totext(covered, target)); [all...] |
H A D | sig_24.c | 61 RETERR(uint16_tobuffer(covered, target)); 69 RETERR(mem_tobuffer(target, &c, 1)); 79 RETERR(mem_tobuffer(target, &c, 1)); 86 RETERR(uint32_tobuffer(token.value.as_ulong, target)); 94 RETERR(uint32_tobuffer(time_expire, target)); 102 RETERR(uint32_tobuffer(time_signed, target)); 109 RETERR(uint16_tobuffer(token.value.as_ulong, target)); 119 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target)); 124 return (isc_base64_tobuffer(lexer, target, -1)); 155 RETERR(dns_rdatatype_totext(covered, target)); [all...] |
H A D | tkey_249.c | 54 RETTOK(dns_name_fromtext(&name, &buffer, origin, options, target)); 62 RETERR(uint32_tobuffer(token.value.as_ulong, target)); 69 RETERR(uint32_tobuffer(token.value.as_ulong, target)); 78 RETERR(uint16_tobuffer(token.value.as_ulong, target)); 95 RETERR(uint16_tobuffer(rcode, target)); 104 RETERR(uint16_tobuffer(token.value.as_ulong, target)); 109 RETERR(isc_base64_tobuffer(lexer, target, (int)token.value.as_ulong)); 118 RETERR(uint16_tobuffer(token.value.as_ulong, target)); 123 return (isc_base64_tobuffer(lexer, target, (int)token.value.as_ulong)); 147 RETERR(dns_name_totext(&prefix, sub, target)); [all...] |
H A D | uri_256.h | 27 unsigned char * target; member in struct:dns_rdata_uri
|
H A D | uri_256.c | 43 RETERR(uint16_tobuffer(token.value.as_ulong, target)); 52 RETERR(uint16_tobuffer(token.value.as_ulong, target)); 61 RETTOK(multitxt_fromtext(&token.value.as_textregion, target)); 84 RETERR(str_totext(buf, target)); 92 RETERR(str_totext(buf, target)); 97 RETERR(multitxt_totext(®ion, target)); 118 RETERR(mem_tobuffer(target, region.base, 4)); 124 RETERR(multitxt_fromwire(source, target)); 139 return (mem_tobuffer(target, region.base, region.length)); 188 REQUIRE(uri->target ! [all...] |
H A D | ipseckey_45.c | 51 RETERR(uint8_tobuffer(token.value.as_ulong, target)); 60 RETERR(uint8_tobuffer(token.value.as_ulong, target)); 70 RETERR(uint8_tobuffer(token.value.as_ulong, target)); 87 isc_buffer_availableregion(target, ®ion); 91 isc_buffer_add(target, 4); 97 isc_buffer_availableregion(target, ®ion); 101 isc_buffer_add(target, 16); 109 options, target)); 116 return (isc_base64_tobuffer(lexer, target, -1)); 136 RETERR(str_totext("( ", target)); [all...] |
/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | listenlist.h | 65 dns_acl_t *acl, ns_listenelt_t **target); 77 ns_listenlist_create(isc_mem_t *mctx, ns_listenlist_t **target); 83 ns_listenlist_attach(ns_listenlist_t *source, ns_listenlist_t **target); 85 * Attach '*target' to '*source'. 96 isc_boolean_t enabled, ns_listenlist_t **target);
|
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/ |
H A D | srv_33.h | 34 dns_name_t target; member in struct:dns_rdata_in_srv
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | master_test.c | 40 isc_buffer_t target; local 45 isc_buffer_init(&target, buf, 64*1024); 47 &target); 49 fprintf(stdout, "%.*s\n", (int)target.used, 50 (char*)target.base); 63 isc_buffer_t target; local 75 isc_buffer_init(&target, name_buf, 255); 78 ISC_FALSE, &target);
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | rdata.c | 71 unsigned int options, isc_buffer_t *target, \ 75 isc_buffer_t *target 79 unsigned int options, isc_buffer_t *target 82 isc_buffer_t *target 87 void *source, isc_buffer_t *target 89 #define ARGS_TOSTRUCT dns_rdata_t *rdata, void *target, isc_mem_t *mctx 117 txt_totext(isc_region_t *source, isc_buffer_t *target); 120 txt_fromtext(isc_textregion_t *source, isc_buffer_t *target); 123 txt_fromwire(isc_buffer_t *source, isc_buffer_t *target); 126 multitxt_totext(isc_region_t *source, isc_buffer_t *target); 307 name_duporclone(dns_name_t *source, isc_mem_t *mctx, dns_name_t *target) argument 391 dns_rdata_clone(const dns_rdata_t *src, dns_rdata_t *target) argument 478 dns_rdata_fromwire(dns_rdata_t *rdata, dns_rdataclass_t rdclass, dns_rdatatype_t type, isc_buffer_t *source, dns_decompress_t *dctx, unsigned int options, isc_buffer_t *target) argument 549 dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx, isc_buffer_t *target) argument 609 unknown_fromtext(dns_rdataclass_t rdclass, dns_rdatatype_t type, isc_lex_t *lexer, isc_mem_t *mctx, isc_buffer_t *target) argument 655 dns_rdata_fromtext(dns_rdata_t *rdata, dns_rdataclass_t rdclass, dns_rdatatype_t type, isc_lex_t *lexer, dns_name_t *origin, unsigned int options, isc_mem_t *mctx, isc_buffer_t *target, dns_rdatacallbacks_t *callbacks) argument 779 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, isc_buffer_t *target) argument 821 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, isc_buffer_t *target) argument 848 dns_rdata_totext(dns_rdata_t *rdata, dns_name_t *origin, isc_buffer_t *target) argument 865 dns_rdata_tofmttext(dns_rdata_t *rdata, dns_name_t *origin, unsigned int flags, unsigned int width, const char *linebreak, isc_buffer_t *target) argument 889 dns_rdata_fromstruct(dns_rdata_t *rdata, dns_rdataclass_t rdclass, dns_rdatatype_t type, void *source, isc_buffer_t *target) argument 927 dns_rdata_tostruct(dns_rdata_t *rdata, void *target, isc_mem_t *mctx) argument 1069 dns_rdatatype_totext(dns_rdatatype_t type, isc_buffer_t *target) argument 1112 txt_totext(isc_region_t *source, isc_buffer_t *target) argument 1166 txt_fromtext(isc_textregion_t *source, isc_buffer_t *target) argument 1232 txt_fromwire(isc_buffer_t *source, isc_buffer_t *target) argument 1256 multitxt_totext(isc_region_t *source, isc_buffer_t *target) argument 1312 multitxt_fromtext(isc_textregion_t *source, isc_buffer_t *target) argument 1378 multitxt_fromwire(isc_buffer_t *source, isc_buffer_t *target) argument 1407 name_prefix(dns_name_t *name, dns_name_t *origin, dns_name_t *target) argument 1439 str_totext(const char *source, isc_buffer_t *target) argument 1455 inet_totext(int af, isc_region_t *src, isc_buffer_t *target) argument 1480 uint32_tobuffer(isc_uint32_t value, isc_buffer_t *target) argument 1491 uint16_tobuffer(isc_uint32_t value, isc_buffer_t *target) argument 1504 uint8_tobuffer(isc_uint32_t value, isc_buffer_t *target) argument 1517 name_tobuffer(dns_name_t *name, isc_buffer_t *target) argument 1568 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) argument 1655 byte_atob(int c, isc_buffer_t *target, struct state *state) argument 1693 putbyte(int c, isc_buffer_t *target, struct state *state) argument 1728 atob_tobuffer(isc_lex_t *lexer, isc_buffer_t *target) argument 1792 byte_btoa(int c, isc_buffer_t *target, struct state *state) argument 1858 btoa_totext(unsigned char *inbuf, int inbuflen, isc_buffer_t *target) argument [all...] |