libpcp  0.2.1
Public Attributes | List of all members
_pcp_stream_t Struct Reference

An I/O wrapper object backed by a file or a buffer. More...

#include <pcpstream.h>

Public Attributes

FILE * fd
 The backend FILE stream.
 
Bufferb
 The backend Buffer object.
 
uint8_t is_buffer
 Set to 1 if the backend is a Buffer.
 
uint8_t eof
 Set to 1 if EOF reached.
 
uint8_t err
 Set to 1 if an error occured.
 

Detailed Description

An I/O wrapper object backed by a file or a buffer.

Definition at line 58 of file pcpstream.h.

Member Data Documentation

Buffer* _pcp_stream_t::b

The backend Buffer object.

Definition at line 60 of file pcpstream.h.

uint8_t _pcp_stream_t::eof

Set to 1 if EOF reached.

Definition at line 62 of file pcpstream.h.

uint8_t _pcp_stream_t::err

Set to 1 if an error occured.

Definition at line 63 of file pcpstream.h.

FILE* _pcp_stream_t::fd

The backend FILE stream.

Definition at line 59 of file pcpstream.h.

uint8_t _pcp_stream_t::is_buffer

Set to 1 if the backend is a Buffer.

Definition at line 61 of file pcpstream.h.


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