Files, and joedb file format.
More...
◆ Open_Mode
Enumerator |
---|
read_existing | fails if does not exist
|
write_existing | fails if does not exist or locked, locks the file for writing
|
create_new | fails if already exists, locks the file for writing
|
write_existing_or_create_new | either write_existing or create_new depending on whether the file exists. Racy in Posix, not in Windows.
|
shared_write | like write_existing_or_create_new, but does not lock the file, and does not fail if locked
|
write_lock | like write_existing_or_create_new, but waits instead of failing if already locked
|
mode_count | number of modes
|
Definition at line 7 of file Open_Mode.h.
◆ about_joedb()
void joedb::about_joedb |
( |
std::ostream & |
out | ) |
|
◆ dump_header()
void joedb::dump_header |
( |
std::ostream & |
out, |
|
|
Buffered_File & |
file |
|
) |
| |