Changeset 2061 for branches/c08_branch/source/cpu.h
- Timestamp:
- 05/14/08 07:09:15 (8 months ago)
- Files:
-
- 1 modified
-
branches/c08_branch/source/cpu.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/c08_branch/source/cpu.h
r1845 r2061 132 132 /** flag used as third parameter for open_data, indicates how data files are searched 133 133 * AS_DATA_ONLY: search only in the data directories, not in the current working directory (default) 134 * AS_DATA_OPTIONAL: same as AS_DATA_ONLY, except that the precense of the file is optional 134 135 * AS_DATA_LOCAL: search in data directories first, then in the current working directory 135 136 * AS_LOCAL_DATA: search in the current working directory first, then in the data directories … … 137 138 * versions with _TRY appended have the same meaning, except that they don't abort */ 138 139 typedef enum { AS_DATA_ONLY_TRY, AS_DATA_LOCAL_TRY, AS_LOCAL_DATA_TRY, AS_LOCAL_ONLY_TRY, 139 AS_DATA_ONLY, AS_DATA_ LOCAL, AS_LOCAL_DATA, AS_LOCAL_ONLY } access_scheme;140 AS_DATA_ONLY, AS_DATA_OPTIONAL, AS_DATA_LOCAL, AS_LOCAL_DATA, AS_LOCAL_ONLY } access_scheme; 140 141 141 142 FILE* open_data( const char* fname, const char* mode, access_scheme scheme=AS_DATA_ONLY );
