Searched refs:db_file (Results 1 – 8 of 8) sorted by relevance
/netbsd-src/external/mpl/dhcp/dist/server/ |
H A D | db.c | 40 static isc_result_t write_binding_scope(FILE *db_file, struct binding *bnd, 43 FILE *db_file; variable 54 write_binding_scope(FILE *db_file, struct binding *bnd, char *prepend) { in write_binding_scope() argument 57 if ((db_file == NULL) || (bnd == NULL) || (prepend == NULL)) in write_binding_scope() 66 fprintf(db_file, "%sset %s = %s;", in write_binding_scope() 77 fprintf(db_file, "%sset %s = %%%ld;", prepend, in write_binding_scope() 83 fprintf(db_file, "%sset %s = %s;", prepend, bnd->name, in write_binding_scope() 120 fprintf (db_file, "lease %s {", piaddr (lease -> ip_addr)); 127 fprintf(db_file, "\n starts %s", tval) < 0)) 132 fprintf(db_file, "\n ends %s", tval) < 0)) [all …]
|
/netbsd-src/external/bsd/ntp/dist/sntp/ |
H A D | kod_management.c | 182 const char * db_file, in kod_init_kod_db() argument 199 kod_db_file = estrdup(db_file); in kod_init_kod_db() 201 db_s = fopen(db_file, "r"); in kod_init_kod_db() 205 db_file); in kod_init_kod_db() 211 printf("Starting to read KoD file %s...\n", db_file); in kod_init_kod_db() 228 if (strcmp(db_file, "/dev/null")) in kod_init_kod_db() 231 db_file, in kod_init_kod_db() 243 TRACE(2, ("KoD DB %s empty.\n", db_file)); in kod_init_kod_db() 247 TRACE(2, ("KoD DB %s contains %d entries, reading...\n", db_file, kod_db_cnt)); in kod_init_kod_db() 289 db_file); in kod_init_kod_db()
|
H A D | kod_management.h | 17 void kod_init_kod_db(const char *db_file, int readonly);
|
/netbsd-src/external/mpl/bind/dist/contrib/dlz/modules/bdbhpt/testing/ |
H A D | bdbhpt-populate.pl |
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hdb/ |
H A D | hdb-sqlite.c | 44 char *db_file; member 336 ret = sqlite3_open_v2(hsdb->db_file, &hsdb->db, in hdb_sqlite_open_database() 344 hsdb->db_file, sqlite3_errmsg(hsdb->db)); in hdb_sqlite_open_database() 412 hsdb->db_file = strdup(filename); in hdb_sqlite_make_database() 413 if(hsdb->db_file == NULL) in hdb_sqlite_make_database() 461 unlink(hsdb->db_file); in hdb_sqlite_make_database() 462 free(hsdb->db_file); in hdb_sqlite_make_database() 463 hsdb->db_file = NULL; in hdb_sqlite_make_database() 805 free(hsdb->db_file); in hdb_sqlite_destroy() 916 if (rename(hsdb->db_file, new_name) == -1) in hdb_sqlite_rename() [all …]
|
/netbsd-src/external/mpl/bind/dist/contrib/dlz/modules/bdbhpt/ |
H A D | dlz_bdbhpt_dynamic.c |
|
/netbsd-src/external/bsd/wpa/dist/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()
|
/netbsd-src/external/bsd/wpa/dist/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()
|