libopc
|
#include <opc/config.h>
Go to the source code of this file.
Typedefs | |
typedef struct OPC_CONTAINER_INPUTSTREAM_STRUCT | opcContainerInputStream |
Functions | |
opcContainerInputStream * | opcContainerOpenInputStream (opcContainer *container, const xmlChar *name) |
opc_uint32_t | opcContainerReadInputStream (opcContainerInputStream *stream, opc_uint8_t *buffer, opc_uint32_t buffer_len) |
opc_error_t | opcContainerCloseInputStream (opcContainerInputStream *stream) |
opcCompressionOption_t | opcContainerGetInputStreamCompressionOption (opcContainerInputStream *stream) |
typedef struct OPC_CONTAINER_INPUTSTREAM_STRUCT opcContainerInputStream |
Internal type which represents a binary input stream.
opc_error_t opcContainerCloseInputStream | ( | opcContainerInputStream * | stream | ) |
Closes the input stream and releases all system resources.
opcCompressionOption_t opcContainerGetInputStreamCompressionOption | ( | opcContainerInputStream * | stream | ) |
Returns the type of compression used for the stream.
opcContainerInputStream* opcContainerOpenInputStream | ( | opcContainer * | container, |
const xmlChar * | name | ||
) |
Opens the part name
of the container
for reading.
opc_uint32_t opcContainerReadInputStream | ( | opcContainerInputStream * | stream, |
opc_uint8_t * | buffer, | ||
opc_uint32_t | buffer_len | ||
) |
Reads maximal buffer_len
bytes from the input stream
to buffer
.