50 #define OPC_DEFAULT_GROWTH_HINT 512
161 const xmlChar *partName,
194 const xmlChar *partName,
opc_uint32_t opcZipGetFirstSegmentId(opcZip *zip)
Definition: zip.c:1450
opc_bool_t opcZipSegmentDelete(opcZip *zip, opc_uint32_t *first_segment, opc_uint32_t *last_segment, opcZipSegmentReleaseCallback *releaseCallback)
Definition: zip.c:1482
opc_uint32_t opcZipReadInputStream(opcZip *zip, opcZipInputStream *stream, opc_uint8_t *buf, opc_uint32_t buf_len)
Definition: zip.c:962
opc_uint32_t opcZipCreateSegment(opcZip *zip, const xmlChar *partName, opc_bool_t relsSegment, opc_uint32_t segment_size, opc_uint32_t growth_hint, opc_uint16_t compression_method, opc_uint16_t bit_flag)
Definition: zip.c:1024
opc_uint32_t opcZipGetNextSegmentId(opcZip *zip, opc_uint32_t segment_id)
Definition: zip.c:1456
puint16_t opc_uint16_t
Definition: config.h:97
puint8_t opc_uint8_t
Definition: config.h:91
pbool_t opc_bool_t
Definition: config.h:79
Definition: internal.h:90
Definition: internal.h:76
#define OPC_MAX_PATH
Definition: config.h:143
opcZipOutputStream * opcZipCreateOutputStream(opcZip *zip, opc_uint32_t *segment_id, const xmlChar *partName, opc_bool_t relsSegment, opc_uint32_t segment_size, opc_uint32_t growth_hint, opc_uint16_t compression_method, opc_uint16_t bit_flag)
Definition: zip.c:1257
opc_error_t( opcZipSegmentReleaseCallback)(opcZip *zip, opc_uint32_t segment_id)
Definition: zip.h:124
opc_error_t opcZipGC(opcZip *zip)
Definition: zip.c:1049
struct OPC_ZIP_SEGMENT_INFO_STRUCT opcZipSegmentInfo_t
puint32_t opc_uint32_t
Definition: config.h:103
int opcZipLoaderOpenCallback(void *iocontext)
Definition: zip.h:94
Definition: internal.h:102
opc_error_t opcZipCloseInputStream(opcZip *zip, opcZipInputStream *stream)
Definition: zip.c:950
opc_error_t opcZipLoader(opcIO_t *io, void *userctx, opcZipLoaderSegmentCallback_t *segmentCallback)
Definition: zip.c:879
opc_error_t opcZipCommit(opcZip *zip, opc_bool_t trim)
Definition: zip.c:1202
enum OPC_ERROR_ENUM opc_error_t
opc_error_t opcZipGetSegmentInfo(opcZip *zip, opc_uint32_t segment_id, const xmlChar **name, opc_bool_t *rels_segment, opc_uint32_t *crc)
Definition: zip.c:1467
pofs_t opc_ofs_t
Definition: config.h:85
opc_error_t( opcZipLoaderSegmentCallback_t)(void *iocontext, void *userctx, opcZipSegmentInfo_t *info, opcZipLoaderOpenCallback *open, opcZipLoaderReadCallback *read, opcZipLoaderCloseCallback *close, opcZipLoaderSkipCallback *skip)
Definition: zip.h:111
opcZip * opcZipCreate(opcIO_t *io)
Definition: zip.c:158
int opcZipLoaderCloseCallback(void *iocontext)
Definition: zip.h:106
int opcZipLoaderSkipCallback(void *iocontext)
Definition: zip.h:98
opc_uint32_t opcZipWriteOutputStream(opcZip *zip, opcZipOutputStream *stream, const opc_uint8_t *buf, opc_uint32_t buf_len)
Definition: zip.c:1440
void opcZipClose(opcZip *zip, opcZipSegmentReleaseCallback *releaseCallback)
Definition: zip.c:169
opc_error_t opcZipCloseOutputStream(opcZip *zip, opcZipOutputStream *stream, opc_uint32_t *segment_id)
Definition: zip.c:1426
int opcZipLoaderReadCallback(void *iocontext, char *buffer, int len)
Definition: zip.h:102
opcZipOutputStream * opcZipOpenOutputStream(opcZip *zip, opc_uint32_t *segment_id)
Definition: zip.c:1214
opc_uint32_t opcZipLoadSegment(opcZip *zip, const xmlChar *partName, opc_bool_t rels_segment, opcZipSegmentInfo_t *info)
Definition: zip.c:1007
opcZipInputStream * opcZipOpenInputStream(opcZip *zip, opc_uint32_t segment_id)
Definition: zip.c:930