1#ifndef joedb_Open_Mode_declared
2#define joedb_Open_Mode_declared
@ create_new
fails if already exists, locks the file for writing
@ mode_count
number of modes
@ write_existing
fails if does not exist or locked, locks the file for writing
@ shared_write
like write_existing_or_create_new, but does not lock the file, and does not fail if locked
@ write_existing_or_create_new
either write_existing or create_new depending on whether the file exists. Racy in Posix,...
@ write_lock
like write_existing_or_create_new, but waits instead of failing if already locked
@ read_existing
fails if does not exist