Lines Matching defs:dbdata
102 dlz_findzonedb(void *dbdata, const char *name,
107 dlz_destroy(void *dbdata);
220 * is indicated by the query flag, and the dbdata object is passed
221 * passed in to. dbdata really holds a single database instance.
228 void *dbdata, MYSQL_RES **rs)
232 mysql_instance_t *db = (mysql_instance_t *)dbdata;
548 dlz_findzonedb(void *dbdata, const char *name,
555 mysql_instance_t *db = (mysql_instance_t *)dbdata;
560 result = mysql_get_resultset(name, NULL, NULL, FINDZONE, dbdata, &rs);
578 mysql_get_resultset(name, NULL, NULL, COUNTZONE, dbdata, NULL);
587 dlz_allowzonexfr(void *dbdata, const char *name, const char *client) {
589 mysql_instance_t *db = (mysql_instance_t *)dbdata;
594 result = dlz_findzonedb(dbdata, name, NULL, NULL);
605 dbdata, &rs);
636 dlz_allnodes(const char *zone, void *dbdata, dns_sdlzallnodes_t *allnodes) {
638 mysql_instance_t *db = (mysql_instance_t *)dbdata;
647 result = mysql_get_resultset(zone, NULL, NULL, ALLNODES, dbdata, &rs);
738 dlz_authority(const char *zone, void *dbdata, dns_sdlzlookup_t *lookup) {
741 mysql_instance_t *db = (mysql_instance_t *)dbdata;
743 result = mysql_get_resultset(zone, NULL, NULL, AUTHORITY, dbdata, &rs);
766 void *dbdata, dns_sdlzlookup_t *lookup,
772 mysql_instance_t *db = (mysql_instance_t *)dbdata;
777 result = mysql_get_resultset(zone, name, NULL, LOOKUP, dbdata, &rs);
801 void **dbdata, ...)
829 va_start(ap, dbdata);
1045 *dbdata = mysql;
1059 dlz_destroy(void *dbdata) {
1060 mysql_instance_t *db = (mysql_instance_t *)dbdata;