Lines Matching refs:key
1755 TDB_DATA key, dbuf;
1771 key.dptr = db_key;
1772 key.dsize = strlen(db_key);
1775 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))
1781 * add_db_key - add a key that we can use to look up our database entry.
1787 TDB_DATA key, dbuf;
1789 key.dptr = (char *) str;
1790 key.dsize = strlen(str);
1793 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))
1794 error("tdb_store key failed: %s", tdb_error(pppdb));
1798 * delete_db_key - delete a key for looking up our database entry.
1804 TDB_DATA key;
1806 key.dptr = (char *) str;
1807 key.dsize = strlen(str);
1808 tdb_delete(pppdb, key);
1817 TDB_DATA key;
1821 key.dptr = db_key;
1822 key.dsize = strlen(db_key);
1823 tdb_delete(pppdb, key);