libopc
|
#include <libxml/xmlstring.h>
#include <plib/plib.h>
#include <assert.h>
Go to the source code of this file.
Macros | |
#define | OPC_ASSERT(e) |
#define | OPC_ENSURE(e) |
#define | OPC_TRUE |
#define | OPC_FALSE |
#define | OPC_DEFLATE_BUFFER_SIZE 4096 |
#define | OPC_MAX_PATH 512 |
#define | opc_logf |
#define | opc_bzero_mem(m, s) |
Typedefs | |
typedef pbool_t | opc_bool_t |
typedef pofs_t | opc_ofs_t |
typedef puint8_t | opc_uint8_t |
typedef puint16_t | opc_uint16_t |
typedef puint32_t | opc_uint32_t |
typedef puint64_t | opc_uint64_t |
typedef pint8_t | opc_int8_t |
typedef pint16_t | opc_int16_t |
typedef pint32_t | opc_int32_t |
typedef pint64_t | opc_int64_t |
typedef enum OPC_ERROR_ENUM | opc_error_t |
typedef enum OPC_COMPRESSIONOPTION_ENUM | opcCompressionOption_t |
Enumerations | |
enum | OPC_ERROR_ENUM { OPC_ERROR_NONE, OPC_ERROR_STREAM, OPC_ERROR_SEEK, OPC_ERROR_UNSUPPORTED_DATA_DESCRIPTOR, OPC_ERROR_UNSUPPORTED_COMPRESSION, OPC_ERROR_DEFLATE, OPC_ERROR_HEADER, OPC_ERROR_MEMORY, OPC_ERROR_XML, OPC_ERROR_USER } |
enum | OPC_COMPRESSIONOPTION_ENUM { OPC_COMPRESSIONOPTION_NONE, OPC_COMPRESSIONOPTION_NORMAL, OPC_COMPRESSIONOPTION_MAXIMUM, OPC_COMPRESSIONOPTION_FAST, OPC_COMPRESSIONOPTION_SUPERFAST } |
#define OPC_ASSERT | ( | e | ) |
Assert expression e is true. Will be removed entirely in release mode.
#define opc_bzero_mem | ( | m, | |
s | |||
) |
Abstraction for memset(m, 0, s).
#define OPC_DEFLATE_BUFFER_SIZE 4096 |
Default size fo the deflate buffer used by zlib.
#define OPC_ENSURE | ( | e | ) |
Assert expression e is true. Expression will be executed in release mode too.
#define OPC_FALSE |
Constant for boolean false.
#define opc_logf |
Helper for debug logs.
#define OPC_MAX_PATH 512 |
Max system path len.
#define OPC_TRUE |
Constant for boolean true.
typedef pbool_t opc_bool_t |
Boolean type.
typedef enum OPC_ERROR_ENUM opc_error_t |
Error codes for the OPC module.
typedef pint16_t opc_int16_t |
16-bit signed integer.
typedef pint32_t opc_int32_t |
32-bit signed integer.
typedef pint64_t opc_int64_t |
64-bit signed integer.
typedef pint8_t opc_int8_t |
8-bit signed integer.
typedef pofs_t opc_ofs_t |
Type which represents an offset in e.g. a file.
typedef puint16_t opc_uint16_t |
16-bit unsigned integer.
typedef puint32_t opc_uint32_t |
32-bit unsigned integer.
typedef puint64_t opc_uint64_t |
64-bit unsigned integer.
typedef puint8_t opc_uint8_t |
8-bit unsigned integer.
typedef enum OPC_COMPRESSIONOPTION_ENUM opcCompressionOption_t |
Compression options for OPC streams.
Compression options for OPC streams.
enum OPC_ERROR_ENUM |
Error codes for the OPC module.