| /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...] |
| 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/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...] |
| 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...] |