Searched refs:sqlite_db (Results 1 – 2 of 2) sorted by relevance
/hostap-3.6.0/src/eap_server/ |
D | eap_sim_db.c | 71 sqlite3 *sqlite_db; member 196 if (sqlite3_exec(data->sqlite_db, cmd, NULL, NULL, &err) != SQLITE_OK) in db_add_pseudonym() 234 if (sqlite3_exec(data->sqlite_db, cmd, get_pseudonym_cb, data, NULL) != in db_get_pseudonym() 296 if (sqlite3_exec(data->sqlite_db, cmd, NULL, NULL, &err) != SQLITE_OK) in db_add_reauth() 351 if (sqlite3_exec(data->sqlite_db, cmd, get_reauth_cb, data, NULL) != in db_get_reauth() 370 sqlite3_exec(data->sqlite_db, cmd, NULL, NULL, NULL); in db_remove_reauth() 778 data->sqlite_db = db_open(pos); in eap_sim_db_init() 779 if (data->sqlite_db == NULL) in eap_sim_db_init() 830 if (data->sqlite_db) { in eap_sim_db_deinit() 831 sqlite3_close(data->sqlite_db); in eap_sim_db_deinit() [all …]
|
/hostap-3.6.0/hostapd/ |
D | hlr_auc_gw.c | 108 static sqlite3 *sqlite_db = NULL; variable 217 if (sqlite3_exec(sqlite_db, cmd, get_milenage_cb, &db_tmp_milenage, in db_get_milenage() 231 if (sqlite_db == NULL) in db_update_milenage_sqn() 240 if (sqlite3_exec(sqlite_db, cmd, NULL, NULL, NULL) != SQLITE_OK) { in db_update_milenage_sqn() 957 if (sqlite_db) { in cleanup() 958 sqlite3_close(sqlite_db); in cleanup() 959 sqlite_db = NULL; in cleanup() 1063 if (sqlite_db_file && (sqlite_db = db_open(sqlite_db_file)) == NULL) in main() 1100 if (sqlite_db) { in main() 1101 sqlite3_close(sqlite_db); in main() [all …]
|