v0.2.1
Fast, portable C library for geometry input/output
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
Data Structures | Typedefs | Functions
stream.h File Reference

Declaration of gmio_stream and utility functions. More...

Go to the source code of this file.

Data Structures

struct  gmio_stream
 Stream that can get input from an arbitrary data source or can write output to an arbitrary data sink. More...
 

Typedefs

typedef int64_or_long gmio_streamsize_t
 Type able to represent the size(in bytes) of a stream. More...
 
typedef int64_or_long gmio_streamoffset_t
 Type able to represent the offset position within a stream. More...
 

Functions

struct gmio_stream gmio_stream_null ()
 Returns a null stream. More...
 
struct gmio_stream gmio_stream_stdio (FILE *file)
 Returns a stream for standard FILE* (cookie will hold file) More...
 

Detailed Description

Declaration of gmio_stream and utility functions.

Fougue © 2016