libopc
Functions
helper.h File Reference
#include <opc/config.h>

Go to the source code of this file.

Functions

opc_uint16_t opcHelperAssembleSegmentName (char *out, opc_uint16_t out_size, const xmlChar *name, opc_uint32_t segment_number, opc_uint32_t next_segment_id, opc_bool_t rels_segment, opc_uint16_t *out_max)
 
opc_error_t opcHelperSplitFilename (opc_uint8_t *filename, opc_uint32_t filename_length, opc_uint32_t *segment_number, opc_bool_t *last_segment, opc_bool_t *rel_segment)
 

Detailed Description

Contains helper functions for the opc module.

Function Documentation

opc_uint16_t opcHelperAssembleSegmentName ( char *  out,
opc_uint16_t  out_size,
const xmlChar *  name,
opc_uint32_t  segment_number,
opc_uint32_t  next_segment_id,
opc_bool_t  rels_segment,
opc_uint16_t out_max 
)

Constructs a segment name.

opc_error_t opcHelperSplitFilename ( opc_uint8_t filename,
opc_uint32_t  filename_length,
opc_uint32_t segment_number,
opc_bool_t last_segment,
opc_bool_t rel_segment 
)

Splits a filename into the segment informations.