Searched defs:record (Results 1 - 17 of 17) sorted by relevance

/bind-9.11.3/contrib/dlz/modules/include/
H A Ddlz_dbi.h59 * 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 Dsdlz_helper.h55 * special tokens are %zone%, %record%, %client%
81 char *record; member in struct:dbinstance
/bind-9.11.3/contrib/dlz/drivers/
H A Dsdlz_helper.c84 * %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 Ddlz_mysql_driver.c114 * 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 Ddlz_postgres_driver.c260 * 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 Ddlz_ldap_driver.c545 * 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 Ddlz_odbc_driver.c453 * 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 Ddlz_dbi.c79 * %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 Dgeoip.c68 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 Ddlz_ldap_dynamic.c520 * 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 Ddlz_mysql_dynamic.c217 * 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 Ddlz_wildcard_dynamic.c91 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 Ddlz_example.c46 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 Ddlz_sqlite3_dynamic.c239 * 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 Ddriver.c47 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 Ddns.c300 * 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 Ddlz_mysqldyn_mod.c163 * 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...]

Completed in 45 milliseconds