/bind-9.11.3/contrib/dlz/modules/include/ |
H A D | dlz_dbi.h | 59 * special tokens are %zone%, %record%, %client% 85 char *record; member in struct:dbinstance 99 build_querylist(const char *query_str, char **zone, char **record,
|
/bind-9.11.3/contrib/dlz/drivers/include/dlz/ |
H A D | sdlz_helper.h | 55 * special tokens are %zone%, %record%, %client% 81 char *record; member in struct:dbinstance
|
/bind-9.11.3/contrib/dlz/drivers/ |
H A D | sdlz_helper.c | 84 * %zone%, or %record%, or %client% 100 char **record, char **client, query_list_t **querylist, 186 /* check if we encountered "$record$" token */ 187 } else if (strcasecmp(tseg->sql, "record") == 0) { 189 * we don't really need, or want the "record" 193 /* set tseg->sql to in-direct record string */ 194 tseg->sql = (char**) record; 206 /* set tseg->sql to in-direct record string */ 218 * add checks later to verify zone and record are found if 232 /* if this query requires %record 99 build_querylist(isc_mem_t *mctx, const char *query_str, char **zone, char **record, char **client, query_list_t **querylist, unsigned int flags) argument [all...] |
H A D | dlz_mysql_driver.c | 114 * This function is the real core of the driver. Zone, record 124 mysql_get_resultset(const char *zone, const char *record, argument 235 * was a record string passed? If so, make it safe for use in 238 if (record != NULL) { 239 dbi->record = mysqldrv_escape_string((MYSQL *) dbi->dbconn, 240 record); 241 if (dbi->record == NULL) { 246 dbi->record = NULL; 345 /* free dbi->record string */ 346 if (dbi->record ! [all...] |
H A D | dlz_postgres_driver.c | 260 * This function is the real core of the driver. Zone, record 276 postgres_get_resultset(const char *zone, const char *record, argument 420 * was a record string passed? If so, make it safe for use in 423 if (record != NULL) { 424 dbi->record = postgres_escape_string(record); 425 if (dbi->record == NULL) { 430 dbi->record = NULL; 438 "%d did record", dlz_thread_num); 594 /* free dbi->record strin [all...] |
H A D | dlz_ldap_driver.c | 545 * This function is the real core of the driver. Zone, record 557 ldap_get_results(const char *zone, const char *record, argument 601 if (record != NULL) { 602 dbi->record = isc_mem_strdup(ns_g_mctx, record); 603 if (dbi->record == NULL) { 608 dbi->record = NULL; 842 if (dbi->record != NULL) 843 isc_mem_free(ns_g_mctx, dbi->record);
|
H A D | dlz_odbc_driver.c | 453 * This function is the real core of the driver. Zone, record 471 odbc_get_resultset(const char *zone, const char *record, argument 584 * was a record string passed? If so, make it safe for use in 587 if (record != NULL) { 588 dbi->record = odbc_escape_string(record); 589 if (dbi->record == NULL) { 594 dbi->record = NULL; 693 /* free dbi->record string */ 694 if (dbi->record ! [all...] |
/bind-9.11.3/contrib/dlz/modules/common/ |
H A D | dlz_dbi.c | 79 * %zone%, or %record%, or %client% 94 build_querylist(const char *query_str, char **zone, char **record, argument 176 /* check if we encountered "$record$" token */ 177 } else if (strcasecmp(tseg->cmd, "record") == 0) { 179 * we don't really need, or want the "record" 183 /* set tseg->cmd to in-direct record string */ 184 tseg->cmd = (char**) record; 196 /* set tseg->cmd to in-direct record string */ 208 * add checks later to verify zone and record are found if 222 /* if this query requires %record [all...] |
/bind-9.11.3/lib/dns/ |
H A D | geoip.c | 68 GeoIPRecord *record; member in struct:geoip_state 91 if (state != NULL && state->record != NULL) 92 GeoIPRecord_delete(state->record); 140 if (state->record != NULL) { 141 GeoIPRecord_delete(state->record); 142 state->record = NULL; 159 isc_uint8_t scope, dns_geoip_subtype_t subtype, GeoIPRecord *record, 200 state->record = record; 318 city_string(GeoIPRecord *record, dns_geoip_subtype_ argument 158 set_state(unsigned int family, isc_uint32_t ipnum, const geoipv6_t *ipnum6, isc_uint8_t scope, dns_geoip_subtype_t subtype, GeoIPRecord *record, GeoIPRegion *region, char *name, const char *text, int id) argument 403 GeoIPRecord *record = NULL; local [all...] |
/bind-9.11.3/contrib/dlz/modules/ldap/ |
H A D | dlz_ldap_dynamic.c | 520 * This function is the real core of the driver. Zone, record 532 ldap_get_results(const char *zone, const char *record, argument 572 if (record != NULL) { 573 dbi->record = strdup(record); 574 if (dbi->record == NULL) { 579 dbi->record = NULL; 788 if (dbi->record != NULL) 789 free(dbi->record); 792 dbi->zone = dbi->record [all...] |
/bind-9.11.3/contrib/dlz/modules/mysql/ |
H A D | dlz_mysql_dynamic.c | 217 * This function is the real core of the module. Zone, record 226 mysql_get_resultset(const char *zone, const char *record, argument 320 if (record != NULL) { 321 if (dbi->record != NULL) 322 free(dbi->record); 324 dbi->record = mysqldrv_escape_string((MYSQL *) dbi->dbconn, 325 record); 326 if (dbi->record == NULL) { 331 dbi->record = NULL; 412 if (dbi->record ! [all...] |
/bind-9.11.3/contrib/dlz/modules/wildcard/ |
H A D | dlz_wildcard_dynamic.c | 91 char *record; member in struct:config_data 142 cd->record = nrec->name; 247 DE_CONST(name, cd->record); 258 cd->record = namebuf; 261 cd->record = "@"; 267 name, zone, cd->record, cd->zone); 273 if (strcmp(cd->record, nrec->name) == 0) { 303 cd->record = NULL; 383 /* Get the next record, before we destroy this one. */ 449 /* Initialize the record lin [all...] |
/bind-9.11.3/contrib/dlz/example/ |
H A D | dlz_example.c | 46 struct record { struct 59 struct record current[MAX_RECORDS]; 60 struct record adds[MAX_RECORDS]; 61 struct record deletes[MAX_RECORDS]; 86 * Add a record to a list 89 add_name(struct dlz_example_data *state, struct record *list, 114 "dlz_example: out of record space"); 138 * Delete a record from a list 141 del_name(struct dlz_example_data *state, struct record *list, 160 memset(&list[i], 0, sizeof(struct record)); [all...] |
/bind-9.11.3/contrib/dlz/modules/sqlite3/ |
H A D | dlz_sqlite3_dynamic.c | 239 * This function is the real core of the module. Zone, record 248 sqlite3_get_resultset(const char *zone, const char *record, argument 350 if (record != NULL) { 351 if (dbi->record != NULL) 352 free(dbi->record); 354 dbi->record = escape_string(record); 355 if (dbi->record == NULL) { 360 dbi->record = NULL; 449 if (dbi->record ! [all...] |
/bind-9.11.3/bin/tests/system/dlzexternal/ |
H A D | driver.c | 47 struct record { struct 62 struct record current[MAX_RECORDS]; 63 struct record adds[MAX_RECORDS]; 64 struct record deletes[MAX_RECORDS]; 89 * Add a record to a list 92 add_name(struct dlz_example_data *state, struct record *list, 117 "dlz_example: out of record space"); 141 * Delete a record from a list 144 del_name(struct dlz_example_data *state, struct record *list, 163 memset(&list[i], 0, sizeof(struct record)); [all...] |
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/ |
H A D | dns.c | 300 * Appends an OPT record to the packet. 324 base[11]++; /* increment record count */ 413 * Appends a TSIG record to the packet. 447 /* Digest the TSIG record */ 462 /* Add the TSIG record. */ 478 base[11]++; /* increment record count */ 637 build_update(perf_dnsctx_t *ctx, const isc_textregion_t *record, argument 661 input = *record; 690 if (input.base >= record->base + record 806 perf_dns_buildrequest(perf_dnsctx_t *ctx, const isc_textregion_t *record, isc_uint16_t qid, isc_boolean_t edns, isc_boolean_t dnssec, perf_dnstsigkey_t *tsigkey, isc_buffer_t *msg) argument [all...] |
/bind-9.11.3/contrib/dlz/modules/mysqldyn/ |
H A D | dlz_mysqldyn_mod.c | 163 * Delete a specific record (non-SOA) from a zone 1570 mysql_record_t *record; local 1584 record = makerecord(state, new_name, rdatastr); 1586 if (record == NULL) 1590 if (strcasecmp(record->type, "SOA") != 0) { 1592 txn->zone_id, record->name, 1593 record->type, record->data, 1594 record->ttl); 1603 * This is an SOA record, s 1631 mysql_record_t *record; local [all...] |