Home
last modified time | relevance | path

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

/hostap-3.7.0/src/ap/
Dieee802_1x.c628 sqlite3_stmt *stmt = NULL; in add_sqlite_radius_attr() local
636 if (sqlite3_prepare_v2(hapd->rad_attr_db, sql, os_strlen(sql), &stmt, in add_sqlite_radius_attr()
642 sqlite3_bind_text(stmt, 1, addrtxt, os_strlen(addrtxt), SQLITE_STATIC); in add_sqlite_radius_attr()
643 sqlite3_bind_text(stmt, 2, acct ? "acct" : "auth", 4, SQLITE_STATIC); in add_sqlite_radius_attr()
644 while (sqlite3_step(stmt) == SQLITE_ROW) { in add_sqlite_radius_attr()
648 attrtxt = (const char *) sqlite3_column_text(stmt, 0); in add_sqlite_radius_attr()
669 sqlite3_reset(stmt); in add_sqlite_radius_attr()
670 sqlite3_clear_bindings(stmt); in add_sqlite_radius_attr()
671 sqlite3_finalize(stmt); in add_sqlite_radius_attr()