Lines Matching defs:key
87 DBT key, val;
93 memset(&key, 0, sizeof(key));
95 key.data = item.key;
96 key.size = strlen(item.key) + 1;
104 * Try and add the key to the database. If we fail because
105 * the key already exists, return the existing key.
108 dbp->put(dbp, NULL, &key, &val, DB_NOOVERWRITE)) == 0)
112 if ((errno = dbp->get(dbp, NULL, &key, &val, 0)) == 0)
119 if ((errno = dbp->get(dbp, NULL, &key, &val, 0)) != 0) {
130 retval.key = item.key;