Data Structures |
struct | agl_ios |
| defines an io stream. More...
|
type of input output |
#define | IOS_NULL 0 |
| filename.
|
#define | IOS_FILE 1 |
| filename.
|
#define | IOS_STREAM 2 |
| stream.
|
#define | IOS_HANDLE 3 |
| handle.
|
#define | IOS_MEMORY 4 |
| memory.
|
Defines |
#define | agl_ios_seek(ios, offset, whence) |
| seek into the stream. More...
|
#define | agl_ios_tell(ios) |
| tell the position in the stream. More...
|
#define | agl_ios_read(ios, buf, size, maxnum, supp) |
| read the stream. More...
|
#define | agl_ios_write(ios, buf, size, maxnum, supp) |
| write into the stream. More...
|
#define | agl_ios_close(ios) |
| close the stream. More...
|
Functions |
agl_ios * | agl_ios_filename (char *name, char *type) |
| open a file with his filename and return an agl_ios struct pointing to it. More...
|
agl_ios * | agl_ios_fstream (FILE *file) |
| create an agl_ios struct pointing to a file described with a file stream. More...
|
agl_ios * | agl_ios_fhandle (int handle) |
| create an agl_ios struct pointing to a file described with a file handle. More...
|
agl_ios * | agl_ios_mem (void *mem, unsigned long size) |
| create an agl_ios struct pointing to a memory zone. More...
|
agl_ios * | agl_ios_null () |
| cerate an agl_ios struct pointing to a null decriptor. More...
|
Variables |
agl_ios | agl_ios |
| defines an io stream. More...
|