Lines Matching refs:pppdb
118 TDB_CONTEXT *pppdb; /* database for storing status etc. */ variable
512 pppdb = tdb_open(_PATH_PPPDB, 0, 0, O_RDWR|O_CREAT, 0644);
513 if (pppdb != NULL) {
563 (void) tdb_writelock(pppdb);
568 (void) tdb_writeunlock(pppdb);
838 (void) tdb_writelock(pppdb);
843 (void) tdb_writeunlock(pppdb);
852 (void) tdb_writeunlock(pppdb);
1526 if (pppdb != NULL) { in cleanup()
1528 pppdb = NULL; in cleanup()
2293 if (p[-1] != '\0' && pppdb != NULL)
2299 if (iskey && pppdb != NULL)
2334 if (pppdb != NULL) {
2363 if (p[-1] != '\0' && pppdb != NULL)
2373 if ((pppdb != NULL) && (p != NULL))
2429 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE)) in update_db_entry()
2430 error("tdb_store failed: %s", tdb_error(pppdb)); in update_db_entry()
2446 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))
2447 error("tdb_store key failed: %s", tdb_error(pppdb));
2461 (void) tdb_delete(pppdb, key);
2476 (void) tdb_delete(pppdb, key); in cleanup_db()