| /src/external/mpl/dhcp/dist/server/ |
| 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) { 57 if ((db_file == NULL) || (bnd == NULL) || (prepend == NULL)) 66 fprintf(db_file, "%sset %s = %s;", 77 fprintf(db_file, "%sset %s = %%%ld;", prepend, 83 fprintf(db_file, "%sset %s = %s;", prepend, bnd->name, 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...] |
| /src/external/bsd/ntp/dist/sntp/ |
| kod_management.h | 17 void kod_init_kod_db(const char *db_file, int readonly);
|
| kod_management.c | 182 const char * db_file, 199 kod_db_file = estrdup(db_file); 201 db_s = fopen(db_file, "r"); 205 db_file); 211 printf("Starting to read KoD file %s...\n", db_file); 228 if (strcmp(db_file, "/dev/null")) 231 db_file, 243 TRACE(2, ("KoD DB %s empty.\n", db_file)); 247 TRACE(2, ("KoD DB %s contains %d entries, reading...\n", db_file, kod_db_cnt)); 289 db_file); [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/hdb/ |
| hdb-sqlite.c | 44 char *db_file; member in struct:hdb_sqlite_db 336 ret = sqlite3_open_v2(hsdb->db_file, &hsdb->db, 344 hsdb->db_file, sqlite3_errmsg(hsdb->db)); 412 hsdb->db_file = strdup(filename); 413 if(hsdb->db_file == NULL) 461 unlink(hsdb->db_file); 462 free(hsdb->db_file); 463 hsdb->db_file = NULL; 805 free(hsdb->db_file); 916 if (rename(hsdb->db_file, new_name) == -1 [all...] |
| /src/external/bsd/wpa/dist/hostapd/ |
| hlr_auc_gw.c | 144 static sqlite3 * db_open(const char *db_file) 148 if (sqlite3_open(db_file, &db)) { 150 db_file, sqlite3_errmsg(db));
|
| /src/external/bsd/wpa/dist/src/eap_server/ |
| eap_sim_db.c | 141 static sqlite3 * db_open(const char *db_file) 145 if (sqlite3_open(db_file, &db)) { 147 "%s: %s", db_file, sqlite3_errmsg(db));
|