index.html
Main Page
classes.html
Alphabetical List
annotated.html
Data Structures
files.html
File List
functions.html
Data Fields
globals.html
Globals
stream.c File Reference
Functions
types_8h.html#a23
wmfStream
*
stream_8c.html#a0
wmf_ztream_create
(
types_8h.html#a22
wmfAPI
*API, gzFile out)
types_8h.html#a23
wmfStream
*
stream_8c.html#a1
wmf_stream_create
(
types_8h.html#a22
wmfAPI
*API, FILE *out)
void
stream_8c.html#a2
wmf_ztream_destroy
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a23
wmfStream
*stream, char **buffer, unsigned long *length)
void
stream_8c.html#a3
wmf_stream_destroy
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a23
wmfStream
*stream, char **buffer, unsigned long *length)
int
stream_8c.html#a4
wmf_stream_printf
(
types_8h.html#a22
wmfAPI
*API,
types_8h.html#a23
wmfStream
*stream, char *format,...)
int
stream_8c.html#a5
wmf_stream_zputs
(char *str, void *context)
int
stream_8c.html#a6
wmf_stream_sputs
(char *str, void *context)
int
stream_8c.html#a7
wmf_stream_rezet
(void *context)
int
stream_8c.html#a8
wmf_stream_reset
(void *context)
Function Documentation
types_8h.html#a23
wmfStream
* wmf_stream_create
(
types_8h.html#a22
wmfAPI
*
API
,
FILE *
out
)
Open an uncompressed character output stream.
Parameters:
API
the API handle
out
descriptor for a file stream; or zero to write to memory
stream_8c.html#a1
wmf_stream_create()
creates a
types_8h.html#a23
wmfStream
(a character-based output stream) for output to a file or, if
out
is zero, to memory.
Returns:
Returns a
types_8h.html#a23
wmfStream
pointer, or zero on failure. Possible library error states of
wmf_E_InsMem
or
wmf_E_BadFile
.
void wmf_stream_destroy
(
types_8h.html#a22
wmfAPI
*
API
,
types_8h.html#a23
wmfStream
*
stream
,
char **
buffer
,
unsigned long *
length
)
Close an uncompressed character output stream.
Parameters:
API
the API handle
stream
stream handle
buffer
for memory return
length
for length return
In the case of write-to-memory, on return
*buffer
is an array of length
length
.
int wmf_stream_printf
(
types_8h.html#a22
wmfAPI
*
API
,
types_8h.html#a23
wmfStream
*
stream
,
char *
format
,
...
)
Formatted print to character output stream.
Parameters:
API
the API handle
stream
stream handle
format
print format
With syntax similar to printf(),
stream_8c.html#a4
wmf_stream_printf()
prints a formatted message to a
types_8h.html#a23
wmfStream
character stream.
Returns:
Returns the number of characters written, or zero on failure. Possible library error state of
wmf_E_InsMem
.
int wmf_stream_reset
(
void *
)
uncompressed char output (wmf_stream_create): rewind()
int wmf_stream_rezet
(
void *
)
compressed char output (wmf_ztream_create): rewind()
int wmf_stream_sputs
(
char *
,
void *
)
uncompressed char output (wmf_stream_create): fputs()
int wmf_stream_zputs
(
char *
,
void *
)
compressed char output (wmf_ztream_create): fputs()
types_8h.html#a23
wmfStream
* wmf_ztream_create
(
types_8h.html#a22
wmfAPI
*
API
,
gzFile
out
)
Open a compressed character output stream.
Parameters:
API
the API handle
out
descriptor for a zlib compressed file stream
stream_8c.html#a0
wmf_ztream_create()
creates a
types_8h.html#a23
wmfStream
(a character-based output stream) for output to a file opened via
zlib
. (Writing compressed data to memory is not currently supported.)
Returns:
Returns a
types_8h.html#a23
wmfStream
pointer, or zero on failure. Possible library error state of
wmf_E_InsMem
.
void wmf_ztream_destroy
(
types_8h.html#a22
wmfAPI
*
API
,
types_8h.html#a23
wmfStream
*
stream
,
char **
buffer
,
unsigned long *
length
)
Close a compressed character output stream.
Parameters:
API
the API handle
stream
stream handle
buffer
(unused)
length
(unused)
Generated on Tue Dec 10 19:53:51 2002 for libwmf by
http://www.doxygen.org/index.html
doxygen
1.2.18
