Wheefun I/O Library  0.0.5
Useful I/O Primitives.
Public Attributes | List of all members
wfio_peer_t Struct Reference

A generic stream encapsulation. More...

#include <peer.h>

Collaboration diagram for wfio_peer_t:
Collaboration graph
[legend]

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.
 

Detailed Description

A generic stream encapsulation.

This type wraps around various stream types. This allows for it to be generically used in other types; for instance,

Member Data Documentation

◆ any

void* const wfio_peer_t::any

Any pointer.

◆ bin

struct wfio_binstream_t* const wfio_peer_t::bin

The storage for a binstream

◆ device

struct wfio_device_t* const wfio_peer_t::device

The storage for a device.


The documentation for this struct was generated from the following file: