Lines Matching defs:key
35 DBT key, data;
84 * Insert records into the database, where the key is the user
87 memset(&key, 0, sizeof(DBT));
102 key.data = buf;
104 data.size = key.size = (u_int32_t)len - 1;
107 dbp->put(dbp, NULL, &key, &data, DB_NOOVERWRITE)) {
125 /* Initialize the key/data pair so the flags aren't set. */
126 memset(&key, 0, sizeof(key));
129 /* Walk through the database and print out the key/data pairs. */
130 while ((ret = dbcp->get(dbcp, &key, &data, DB_NEXT)) == 0)
132 (int)key.size, (char *)key.data,