Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

OSRTStream Struct Reference
[Stream structure definitions.]

#include <rtStream.h>

List of all members.


Detailed Description

This structure is used to define a stream control block for keeping track of stream operations. A user may implement his own specific stream operations by defining read, skip, and close functions for input streams and write, flush, and close for output streams.


Public Attributes

OSRTStreamReadProc read
OSRTStreamBlockingReadProc blockingRead
OSRTStreamWriteProc write
OSRTStreamFlushProc flush
OSRTStreamCloseProc close
OSRTStreamSkipProc skip
OSRTStreamMarkProc mark
OSRTStreamResetProc reset
void * extra
size_t bufsize
size_t readAheadLimit
size_t bytesProcessed
size_t markedBytesProcessed
size_t ioBytes
ASN1UINT id
ASN1USINT flags


Member Data Documentation

size_t OSRTStream::bufsize
 

physical size of pctxt->buffer.data buf

size_t OSRTStream::bytesProcessed
 

the number of bytes already processed

OSRTStreamCloseProc OSRTStream::close
 

pointer to close function

void* OSRTStream::extra
 

pointer to stream-specific data

ASN1USINT OSRTStream::flags
 

flags (see OSRTSTRMF_* macros

OSRTStreamFlushProc OSRTStream::flush
 

pointer to flush function

ASN1UINT OSRTStream::id
 

id of stream (see OSRTSTRMID_* macros

size_t OSRTStream::ioBytes
 

the actual number of bytes already read/written

size_t OSRTStream::markedBytesProcessed
 

the marked number of bytes already processed

OSRTStreamReadProc OSRTStream::read
 

pointer to read function

size_t OSRTStream::readAheadLimit
 

read ahead limit (used by rtStreamMark/rtStreamReset

OSRTStreamWriteProc OSRTStream::write
 

pointer to write function


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

Copyright © 1997-2004 Objective Systems,Inc.
All Rights Reserved.
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.

This file was last modified on 1 Oct 2004.
ASN1C C/C++ Common Runtime, ASN1C v5.7x