libopc
|
#include <opc/config.h>
Go to the source code of this file.
Typedefs | |
typedef struct OPC_CONTAINER_OUTPUTSTREAM_STRUCT | opcContainerOutputStream |
Functions | |
opcContainerOutputStream * | opcContainerCreateOutputStream (opcContainer *container, const xmlChar *name, opcCompressionOption_t compression_option) |
opc_uint32_t | opcContainerWriteOutputStream (opcContainerOutputStream *stream, const opc_uint8_t *buffer, opc_uint32_t buffer_len) |
opc_error_t | opcContainerCloseOutputStream (opcContainerOutputStream *stream) |
typedef struct OPC_CONTAINER_OUTPUTSTREAM_STRUCT opcContainerOutputStream |
Internal type which represents a binary output stream.
opc_error_t opcContainerCloseOutputStream | ( | opcContainerOutputStream * | stream | ) |
Close the stream
and free all associated resources.
opcContainerOutputStream* opcContainerCreateOutputStream | ( | opcContainer * | container, |
const xmlChar * | name, | ||
opcCompressionOption_t | compression_option | ||
) |
Open the part name
or writing in container
with compression compression_option
.
opc_uint32_t opcContainerWriteOutputStream | ( | opcContainerOutputStream * | stream, |
const opc_uint8_t * | buffer, | ||
opc_uint32_t | buffer_len | ||
) |
Write buffer_len
bytes from buffer
to stream
.