#include <stdio.h>
#include <stdbool.h>
Go to the source code of this file.
Options reader.
- Date
- 1998 - 2017 
- Author
- Richard Delorme 
- Version
- 4.4
Options header.
- Date
- 1998 - 2017 
- Author
- Richard Delorme 
- Version
- 4.4 
◆ PlayType
| Enumerator | 
|---|
| EDAX_FIXED_LEVEL |  | 
| EDAX_TIME_PER_GAME |  | 
| EDAX_TIME_PER_MOVE |  | 
 
 
◆ options_bound()
      
        
          | void options_bound | ( | void |  | ) |  | 
      
 
Keep options between realistic values. 
 
 
◆ options_dump()
      
        
          | void options_dump | ( | FILE * | f | ) |  | 
      
 
Print all global options. 
- Parameters
- 
  
  
 
 
◆ options_free()
      
        
          | void options_free | ( | void |  | ) |  | 
      
 
free allocated resources. 
 
 
◆ options_parse()
      
        
          | void options_parse | ( | const char * | file | ) |  | 
      
 
parse options from a file 
- Parameters
- 
  
  
 
 
◆ options_read()
      
        
          | int options_read | ( | const char * | option, | 
        
          |  |  | const char * | value | 
        
          |  | ) |  |  | 
      
 
Read an option. 
- Parameters
- 
  
    | option | Option name. |  | value | Option value. |  
 
- Returns
- The number of arguments read (0, 1 or 2). 
 
 
◆ options_usage()
      
        
          | void options_usage | ( | void |  | ) |  | 
      
 
 
◆ usage()
◆ version()
Print version & copyright. 
 
 
◆ options
global options with default value