Lines Matching refs:key
1925 TDB_DATA key, dbuf;
1941 key.dptr = db_key;
1942 key.dsize = strlen(db_key);
1945 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))
1954 * add_db_key - add a key that we can use to look up our database entry.
1960 TDB_DATA key, dbuf;
1962 key.dptr = (char *) str;
1963 key.dsize = strlen(str);
1966 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))
1967 error("tdb_store key failed: %s", tdb_error(pppdb));
1971 * delete_db_key - delete a key for looking up our database entry.
1977 TDB_DATA key;
1979 key.dptr = (char *) str;
1980 key.dsize = strlen(str);
1981 tdb_delete(pppdb, key);
1990 TDB_DATA key;
1994 key.dptr = db_key;
1995 key.dsize = strlen(db_key);
1996 tdb_delete(pppdb, key);