Lines Matching defs:zone

133 mysql_get_resultset(const char *zone, const char *record,
229 * was a zone string passed? If so, make it safe for use in
232 if (zone != NULL) {
233 dbi->zone = mysqldrv_escape_string((MYSQL *) dbi->dbconn,
234 zone);
235 if (dbi->zone == NULL) {
240 dbi->zone = NULL;
350 /* free dbi->zone string */
351 if (dbi->zone != NULL)
352 isc_mem_free(ns_g_mctx, dbi->zone);
503 /*% determine if the zone is supported by (in) the database */
531 /* if we returned any rows, zone is supported. */
537 /* no rows returned, zone is not supported. */
541 /*% Determine if the client is allowed to perform a zone transfer */
552 /* first check if the zone is supported by the database. */
558 * if we get to this point we know the zone is supported by
559 * the database the only questions now are is the zone
561 * have an allow zone xfr query.
585 /* if we returned any rows, zone xfr is allowed. */
589 /* no rows returned, zone xfr not allowed */
594 * If the client is allowed to perform a zone transfer, the next order of
595 * business is to get all the nodes in the zone, so bind can respond to the
599 mysql_allnodes(const char *zone, void *driverarg, void *dbdata,
615 result = mysql_get_resultset(zone, NULL, NULL, ALLNODES, dbdata, &rs);
708 /*% if the lookup function does not return SOA or NS records for the zone,
713 mysql_authority(const char *zone, void *driverarg, void *dbdata,
722 result = mysql_get_resultset(zone, NULL, NULL, AUTHORITY, dbdata, &rs);
743 /*% if zone is supported, lookup up a (or multiple) record(s) in it */
745 mysql_lookup(const char *zone, const char *name, void *driverarg,
754 result = mysql_get_resultset(zone, name, NULL, LOOKUP, dbdata, &rs);