u_stream.h File Reference

Cross-platform sequential access stream abstraction. More...

Include dependency graph for u_stream.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct util_stream * util_stream_create (const char *filename, size_t max_size)
 Create a stream.
boolean util_stream_write (struct util_stream *stream, const void *data, size_t size)
void util_stream_flush (struct util_stream *stream)
void util_stream_close (struct util_stream *stream)


Detailed Description

Cross-platform sequential access stream abstraction.

Definition in file u_stream.h.


Function Documentation

void util_stream_close ( struct util_stream *  stream  ) 

struct util_stream* util_stream_create ( const char *  filename,
size_t  max_size 
) [read]

Create a stream.

Parameters:
filename relative or absolute path (necessary for windows)
optional maximum file size (0 for a growable size).

void util_stream_flush ( struct util_stream *  stream  ) 

boolean util_stream_write ( struct util_stream *  stream,
const void *  data,
size_t  size 
)


Generated on Tue Sep 29 06:25:29 2009 for Gallium3D by  doxygen 1.5.4