Searched refs:db_file (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/ntp/sntp/ |
H A D | kod_management.c | 180 const char * db_file, in kod_init_kod_db() argument 197 kod_db_file = estrdup(db_file); in kod_init_kod_db() 199 db_s = fopen(db_file, "r"); in kod_init_kod_db() 203 db_file); in kod_init_kod_db() 209 printf("Starting to read KoD file %s...\n", db_file); in kod_init_kod_db() 226 if (strcmp(db_file, "/dev/null")) in kod_init_kod_db() 229 db_file, in kod_init_kod_db() 241 TRACE(2, ("KoD DB %s empty.\n", db_file)); in kod_init_kod_db() 245 TRACE(2, ("KoD DB %s contains %d entries, reading...\n", db_file, kod_db_cnt)); in kod_init_kod_db() 287 db_file); in kod_init_kod_db()
|
H A D | kod_management.h | 15 void kod_init_kod_db(const char *db_file, int readonly);
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | hdb-sqlite.c | 42 char *db_file; member 206 ret = sqlite3_open_v2(hsdb->db_file, &hsdb->db, in hdb_sqlite_open_database() 214 hsdb->db_file, sqlite3_errmsg(hsdb->db)); in hdb_sqlite_open_database() 285 hsdb->db_file = strdup(filename); in hdb_sqlite_make_database() 286 if(hsdb->db_file == NULL) in hdb_sqlite_make_database() 368 unlink(hsdb->db_file); in hdb_sqlite_make_database() 678 free(hsdb->db_file); in hdb_sqlite_destroy() 777 ret = rename(hsdb->db_file, new_name); in hdb_sqlite_rename() 778 free(hsdb->db_file); in hdb_sqlite_rename()
|
/freebsd/contrib/wpa/hostapd/ |
H A D | hlr_auc_gw.c | 144 static sqlite3 * db_open(const char *db_file) in db_open() argument 148 if (sqlite3_open(db_file, &db)) { in db_open() 150 db_file, sqlite3_errmsg(db)); in db_open()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_sim_db.c | 141 static sqlite3 * db_open(const char *db_file) in db_open() argument 145 if (sqlite3_open(db_file, &db)) { in db_open() 147 "%s: %s", db_file, sqlite3_errmsg(db)); in db_open()
|