Whole document tree
    

Whole document tree

_wmfStream struct Reference
Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

_wmfStream Struct Reference

#include <types.h>


Data Fields

void * context
wmfSPutS sputs
wmfReset reset


Detailed Description

Structure describing user-definable character-based output stream.

wmf_stream_create() and wmf_ztream_create() both return pointers to wmfStream objects, but an application can create its own implementation if preferred.

typedef int (*wmfSPutS) (char* str,void* context);
typedef int (*wmfReset) (void* context);

wmfSPutS: writes string str; returns EOF on error, else 0.

wmfReset: resets stream to start; returns non-zero on failure.

context is a handle for user data


Field Documentation

void* _wmfStream::context
 

wmfReset _wmfStream::reset
 

wmfSPutS _wmfStream::sputs
 


The documentation for this struct was generated from the following file:
Generated at Sun Oct 28 12:22:58 2001 for libwmf by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001