Show
Ignore:
Timestamp:
05/14/08 07:09:15 (8 months ago)
Author:
peter
Message:

Merging r2051 from mainline - improve error message for missing stellar grid.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/c08_branch/source/cpu.h

    r1845 r2061  
    132132/** flag used as third parameter for open_data, indicates how data files are searched 
    133133 *  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 
    134135 *  AS_DATA_LOCAL: search in data directories first, then in the current working directory 
    135136 *  AS_LOCAL_DATA: search in the current working directory first, then in the data directories 
     
    137138 *  versions with _TRY appended have the same meaning, except that they don't abort */ 
    138139typedef 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; 
    140141 
    141142FILE* open_data( const char* fname, const char* mode, access_scheme scheme=AS_DATA_ONLY );