MPSolve 3.2.1
Loading...
Searching...
No Matches
file-input-stream.h File Reference

Go to the source code of this file.

Classes

class  mps::FileInputStream
 

Typedefs

typedef struct mps_file_input_stream mps_file_input_stream
 Wrapper around FileInputStream.
 

Functions

mps_file_input_streammps_file_input_stream_new (FILE *source)
 Allocate a new FileInputStream instane that will stream the given file. More...
 
void mps_file_input_stream_free (mps_file_input_stream *stream)
 Release the resources holded by this FileInputStream instance. More...
 

Function Documentation

◆ mps_file_input_stream_free()

void mps_file_input_stream_free ( mps_file_input_stream stream)

Release the resources holded by this FileInputStream instance.

Parameters
streamThe FileInputStream that should be freed.

◆ mps_file_input_stream_new()

mps_file_input_stream * mps_file_input_stream_new ( FILE *  source)

Allocate a new FileInputStream instane that will stream the given file.

Parameters
sourceA FILE* object returned by a call to fopen() on the desired file.