|
Classes |
| struct | OSRTStream |
Defines |
|
#define | OSRTSTRMF_INPUT 0x0001 |
|
#define | OSRTSTRMF_OUTPUT 0x0002 |
|
#define | OSRTSTRMF_REQBUFFER 0x4000 |
|
#define | OSRTSTRMF_BUFFERED 0x8000 |
|
#define | OSRTSTRMF_BUF_INPUT (OSRTSTRMF_INPUT|OSRTSTRMF_BUFFERED) |
|
#define | OSRTSTRMF_BUF_OUTPUT (OSRTSTRMF_OUTPUT|OSRTSTRMF_BUFFERED) |
|
#define | OSRTSTRMID_FILE 1 |
|
#define | OSRTSTRMID_SOCKET 2 |
|
#define | OSRTSTRMID_MEMORY 3 |
|
#define | OSRTSTRMID_BUFFERED 4 |
|
#define | OSRTSTRMID_DIRECTBUF 5 |
|
#define | OSRTSTRMID_USER 1000 |
|
#define | OSRTSTRM_K_BUFSIZE 1024 |
|
#define | OSRTSTRM_K_INVALIDMARK ((ASN1UINT)-1) |
|
#define | OSRTSTREAM_BYTEINDEX(pctxt) ((pctxt)->pStream->bytesProcessed + (pctxt)->buffer.byteIndex) |
Typedefs |
| typedef long(* | OSRTStreamReadProc )(struct OSRTStream *pStream, ASN1OCTET *pbuffer, size_t bufsize) |
| typedef long(* | OSRTStreamBlockingReadProc )(struct OSRTStream *pStream, ASN1OCTET *pbuffer, size_t toReadBytes) |
| typedef int(* | OSRTStreamFlushProc )(struct OSRTStream *pStream) |
| typedef int(* | OSRTStreamCloseProc )(struct OSRTStream *pStream) |
| typedef long(* | OSRTStreamWriteProc )(struct OSRTStream *pStream, const ASN1OCTET *data, size_t numocts) |
| typedef int(* | OSRTStreamSkipProc )(struct OSRTStream *pStream, size_t skipBytes) |
| typedef int(* | OSRTStreamMarkProc )(struct OSRTStream *pStream, size_t readAheadLimit) |
| typedef int(* | OSRTStreamResetProc )(struct OSRTStream *pStream) |
| typedef OSRTStream | OSRTStream |
Functions |
|
int | rtStreamRelease (ASN1CTXT *pctxt) |
| int | rtStreamClose (ASN1CTXT *pctxt) |
| int | rtStreamFlush (ASN1CTXT *pctxt) |
| int | rtStreamInit (ASN1CTXT *pctxt) |
| long | rtStreamRead (ASN1CTXT *pctxt, ASN1OCTET *pbuffer, size_t bufsize) |
| long | rtStreamBlockingRead (ASN1CTXT *pctxt, ASN1OCTET *pbuffer, size_t readBytes) |
| int | rtStreamSkip (ASN1CTXT *pctxt, size_t skipBytes) |
| long | rtStreamWrite (ASN1CTXT *pctxt, const ASN1OCTET *data, size_t numocts) |
| int | rtStreamGetIOBytes (ASN1CTXT *pctxt, size_t *pPos) |
|
int | rtStreamGetIOBytes56 (ASN1CTXT *pctxt) |
| int | rtStreamMark (ASN1CTXT *pctxt, size_t readAheadLimit) |
| int | rtStreamReset (ASN1CTXT *pctxt) |
| ASN1BOOL | rtStreamMarkSupported (ASN1CTXT *pctxt) |
| ASN1BOOL | rtStreamIsOpened (ASN1CTXT *pctxt) |
| ASN1BOOL | rtStreamIsReadable (ASN1CTXT *pctxt) |
| ASN1BOOL | rtStreamIsWritable (ASN1CTXT *pctxt) |
| int | rtStreamBufClose (ASN1CTXT *pctxt) |
| int | rtStreamBufFlush (ASN1CTXT *pctxt) |
| int | rtStreamBufInit (ASN1CTXT *pctxt) |
| int | rtStreamBufMark (ASN1CTXT *pctxt, size_t readAheadLimit) |
| int | rtStreamBufPreRead (ASN1CTXT *pctxt, size_t size) |
| int | rtStreamBufRead (ASN1CTXT *pctxt, ASN1OCTET *pdata, size_t size) |
| int | rtStreamBufSkip (ASN1CTXT *pctxt, size_t skipBytes) |
| int | rtStreamBufReset (ASN1CTXT *pctxt) |
| int | rtStreamBufWrite (ASN1CTXT *pctxt, const ASN1OCTET *data, size_t numocts) |
| int | rtStreamFileAttach (ASN1CTXT *pctxt, FILE *pFile, ASN1USINT flags) |
| int | rtStreamFileOpen (ASN1CTXT *pctxt, const char *pFilename, ASN1USINT flags) |
| int | rtStreamFileCreateReader (ASN1CTXT *pctxt, const char *pFilename) |
| int | rtStreamFileCreateWriter (ASN1CTXT *pctxt, const char *pFilename) |
| int | rtStreamSocketAttach (ASN1CTXT *pctxt, OSRTSOCKET socket, ASN1USINT flags) |
| int | rtStreamSocketCreateReader (ASN1CTXT *pctxt, OSRTSOCKET socket) |
| int | rtStreamSocketCreateWriter (ASN1CTXT *pctxt, const char *host, int port) |
| int | rtStreamSocketCreateWriter2 (ASN1CTXT *pctxt, OSRTSOCKET socket) |
| int | rtStreamSocketSetOwnership (ASN1CTXT *pctxt, ASN1BOOL ownSocket) |
| int | rtStreamMemoryCreate (ASN1CTXT *pctxt, ASN1USINT flags) |
| int | rtStreamMemoryAttach (ASN1CTXT *pctxt, ASN1OCTET *pMemBuf, size_t bufSize, ASN1USINT flags) |
| ASN1OCTET * | rtStreamMemoryGetBuffer (ASN1CTXT *pctxt, size_t *pSize) |
| int | rtStreamMemoryCreateReader (ASN1CTXT *pctxt, ASN1OCTET *pMemBuf, size_t bufSize) |
| int | rtStreamMemoryCreateWriter (ASN1CTXT *pctxt, ASN1OCTET *pMemBuf, size_t bufSize) |