fstrm_file contains interfaces for opening fstrm_reader or fstrm_writer objects that are backed by file I/O. 
◆ fstrm_file_options_init()
      
        
          | struct fstrm_file_options* fstrm_file_options_init | ( | void |  | ) |  | 
      
 
 
◆ fstrm_file_options_destroy()
      
        
          | void fstrm_file_options_destroy | ( | struct fstrm_file_options ** | fopt | ) |  | 
      
 
Destroy an fstrm_file_options object. 
- Parameters
- 
  
    | fopt | Pointer to fstrm_file_optionsobject. |  
 
 
 
◆ fstrm_file_options_set_file_path()
      
        
          | void fstrm_file_options_set_file_path | ( | struct fstrm_file_options * | fopt, | 
        
          |  |  | const char * | file_path | 
        
          |  | ) |  |  | 
      
 
Set the file_path option. 
This is a filesystem path to a regular file to be opened for reading or writing.
- Parameters
- 
  
    | fopt | fstrm_file_optionsobject. |  | file_path | The filesystem path for a regular file. |  
 
 
 
◆ fstrm_file_reader_init()
      
        
          | struct fstrm_reader* fstrm_file_reader_init | ( | const struct fstrm_file_options * | fopt, | 
        
          |  |  | const struct fstrm_reader_options * | ropt | 
        
          |  | ) |  |  | 
      
 
Open a file containing Frame Streams data for reading. 
- Parameters
- 
  
    | fopt | fstrm_file_optionsobject. Must be non-NULL, and have thefile_pathoption set. |  | ropt | fstrm_reader_optionsobject. May be NULL, in which case default values will be used. |  
 
- Returns
- fstrm_readerobject.
- Return values
- 
  
  
 
 
◆ fstrm_file_writer_init()
      
        
          | struct fstrm_writer* fstrm_file_writer_init | ( | const struct fstrm_file_options * | fopt, | 
        
          |  |  | const struct fstrm_writer_options * | wopt | 
        
          |  | ) |  |  | 
      
 
Open a file for writing Frame Streams data. 
The file will be truncated if it already exists.
- Parameters
- 
  
    | fopt | fstrm_file_optionsobject. Must be non-NULL, and have thefile_pathoption set. |  | wopt | fstrm_writer_optionsobject. May be NULL, in which case default values will be used. |  
 
- Returns
- fstrm_writerobject.
- Return values
-