Wheefun I/O Library
0.0.5
Useful I/O Primitives.
|
A generic stream encapsulation. More...
#include <peer.h>
Public Attributes | |
const wfio_peer_type_t | type |
The type of this peer. | |
union { | |
void *const any | |
struct wfio_device_t *const device | |
struct wfio_binstream_t *const bin | |
} | impl |
The implementaton for this peer. | |
A generic stream encapsulation.
This type wraps around various stream types. This allows for it to be generically used in other types; for instance,
void* const wfio_peer_t::any |
Any pointer.
struct wfio_binstream_t* const wfio_peer_t::bin |
The storage for a binstream
struct wfio_device_t* const wfio_peer_t::device |
The storage for a device.