Home
last modified time | relevance | path

Searched refs:sql (Results 1 – 10 of 10) sorted by relevance

/hostap-latest/hs20/server/
Dspp_server.c70 char *sql; in db_add_session() local
78 sql = sqlite3_mprintf("INSERT INTO sessions(timestamp,id,user,realm," in db_add_session()
87 if (sql == NULL) in db_add_session()
89 debug_print(ctx, 1, "DB: %s", sql); in db_add_session()
90 if (sqlite3_exec(ctx->db, sql, NULL, NULL, NULL) != SQLITE_OK) { in db_add_session()
95 sqlite3_free(sql); in db_add_session()
104 char *sql; in db_update_session_password() local
106 sql = sqlite3_mprintf("UPDATE sessions SET password=%Q WHERE id=%Q AND " in db_update_session_password()
109 if (sql == NULL) in db_update_session_password()
111 debug_print(ctx, 1, "DB: %s", sql); in db_update_session_password()
[all …]
Dhs20-osu-server.txt86 sqlite3 /home/user/hs20-server/AS/DB/eap_user.db < sql.txt
90 sqlite3 /home/user/hs20-server/AS/DB/eap_user.db < sql-example.txt
148 cat > /home/user/hs20-server/AS/as-sql.conf <<EOF
172 ./hostapd -B as-sql.conf
/hostap-latest/src/radius/
Dradius_server.c261 const char *sql = in db_table_create_sim_provisioning() local
271 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_sim_provisioning()
308 char *sql; in srv_log() local
309 sql = sqlite3_mprintf("INSERT INTO authlog" in srv_log()
316 if (sql) { in srv_log()
317 if (sqlite3_exec(sess->server->db, sql, NULL, NULL, in srv_log()
322 sqlite3_free(sql); in srv_log()
668 char *sql; in radius_srv_hs20_t_c_pending() local
688 sql = sqlite3_mprintf("INSERT OR REPLACE INTO pending_tc (mac_addr,identity) VALUES (%Q,%Q)", in radius_srv_hs20_t_c_pending()
691 if (!sql) in radius_srv_hs20_t_c_pending()
[all …]
/hostap-latest/hs20/server/www/
Dest.php40 $sql = "SELECT rowid,password,operation FROM sessions " . variable
42 $q = $db->query($sql);
77 $sql = "SELECT rowid,password,operation FROM sessions " . variable
79 $q = $db->query($sql);
/hostap-latest/tests/hwsim/
Drun-tests.py91 sql = "INSERT INTO logs(test,run,type,contents) VALUES(?, ?, ?, ?)"
94 conn.execute(sql, params)
109sql = "INSERT INTO results(test,result,run,time,duration,build,commitid) VALUES(?, ?, ?, ?, ?, ?, …
112 conn.execute(sql, params)
375 sql = 'INSERT OR REPLACE INTO tests(test,description) VALUES (?, ?)'
378 conn.execute(sql, params)
Dtest_radius.py233 sql = "INSERT INTO radius_attributes(sta,reqtype,attr) VALUES (?,?,?)"
238 conn.execute(sql, e)
/hostap-latest/src/eap_server/
Deap_sim_db.c97 const char *sql = in db_table_create_pseudonym() local
105 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_pseudonym()
118 const char *sql = in db_table_create_reauth() local
131 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_reauth()
/hostap-latest/hostapd/
Dhlr_auc_gw.c123 const char *sql = in db_table_create_milenage() local
134 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_milenage()
/hostap-latest/src/ap/
Dieee802_1x.c692 char *sql; in add_sqlite_radius_attr() local
700 sql = "SELECT attr FROM radius_attributes WHERE sta=? AND (reqtype=? OR reqtype IS NULL);"; in add_sqlite_radius_attr()
701 if (sqlite3_prepare_v2(hapd->rad_attr_db, sql, os_strlen(sql), &stmt, in add_sqlite_radius_attr()
Dhostapd.c1258 const char *sql = in db_table_create_radius_attributes() local
1269 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { in db_table_create_radius_attributes()