Lines Matching defs:dbdata

108 dlz_findzonedb(void *dbdata, const char *name);
111 dlz_findzonedb(void *dbdata, const char *name,
117 dlz_destroy(void *dbdata);
523 * is indicated by the query flag, and the dbdata object is passed
524 * passed in to. dbdata really holds either:
534 void *dbdata, void *ptr)
537 ldap_instance_t *db = (ldap_instance_t *)dbdata;
683 result = ldap_connect((ldap_instance_t *) dbdata, dbi);
715 result = ldap_connect((ldap_instance_t *) dbdata, dbi);
809 dlz_allowzonexfr(void *dbdata, const char *name, const char *client) {
814 result = dlz_findzonedb(dbdata, name);
816 result = dlz_findzonedb(dbdata, name, NULL, NULL);
823 result = ldap_get_results(name, NULL, client, ALLOWXFR, dbdata, NULL);
828 dlz_allnodes(const char *zone, void *dbdata, dns_sdlzallnodes_t *allnodes)
830 return (ldap_get_results(zone, NULL, NULL, ALLNODES, dbdata, allnodes));
834 dlz_authority(const char *zone, void *dbdata, dns_sdlzlookup_t *lookup) {
835 return (ldap_get_results(zone, NULL, NULL, AUTHORITY, dbdata, lookup));
840 dlz_findzonedb(void *dbdata, const char *name)
843 dlz_findzonedb(void *dbdata, const char *name,
852 return (ldap_get_results(name, NULL, NULL, FINDZONE, dbdata, NULL));
857 void *dbdata, dns_sdlzlookup_t *lookup)
860 void *dbdata, dns_sdlzlookup_t *lookup,
874 dbdata, lookup);
877 dbdata, lookup);
884 void **dbdata, ...)
908 va_start(ap, dbdata);
1155 /* set dbdata to the ldap_instance we created. */
1156 *dbdata = ldap;
1167 dlz_destroy(void *dbdata) {
1168 if (dbdata != NULL) {
1169 ldap_instance_t *db = (ldap_instance_t *)dbdata;
1188 free(dbdata);