Lines Matching defs:key
115 DBT key, data;
132 memset(&key, 0, sizeof(DBT));
135 (const char *)key.data = name;
136 key.size = strlen(name);
138 ret = c->c_get(c, &key, &data, DB_SET);
140 ((char *)key.data)[key.size] = 0;
156 ret = c->c_get(c, &key, &data, DB_NEXT_DUP);
171 DBT key, data;
184 memset(&key, 0, sizeof(DBT));
187 while (c->c_get(c, &key, &data, DB_NEXT) == 0) {
188 ((char *)key.data)[key.size] = 0;
196 if (dns_sdb_putnamedrr(n, key.data, type, ttl, rdata) !=