libdmtx 0.7.8.7
libdmtx is a software library that enables programs to read and write Data Matrix barcodes of the modern ECC200 variety.
Loading...
Searching...
No Matches
dmtxmessage.c File Reference

libdmtx - Data Matrix Encoding/Decoding Library Copyright 2008, 2009 Mike Laughton. More...

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "dmtx.h"
#include "dmtxstatic.h"

Go to the source code of this file.

Functions

DmtxMessagedmtxMessageCreate (int sizeIdx, int symbolFormat)
 Allocate memory for message.
 
DmtxPassFail dmtxMessageDestroy (DmtxMessage **msg)
 Free memory previously allocated for message.
 

Detailed Description

libdmtx - Data Matrix Encoding/Decoding Library Copyright 2008, 2009 Mike Laughton.

All rights reserved. Copyright 2012-2016 Vadim A. Misbakh-Soloviov. All rights reserved.

See LICENSE file in the main project directory for full terms of use and distribution.

Contact: Vadim A. Misbakh-Soloviov dmtx@.nosp@m.mva..nosp@m.name Mike Laughton mike@.nosp@m.drag.nosp@m.onfly.nosp@m.logi.nosp@m.c.com

Data message handling

Definition in file dmtxmessage.c.

Function Documentation

◆ dmtxMessageCreate()

DmtxMessage * dmtxMessageCreate ( int sizeIdx,
int symbolFormat )
extern

Allocate memory for message.

Parameters
sizeIdx
symbolFormatDmtxFormatMatrix | DmtxFormatMosaic
Returns
Address of allocated memory

Definition at line 30 of file dmtxmessage.c.

◆ dmtxMessageDestroy()

DmtxPassFail dmtxMessageDestroy ( DmtxMessage ** msg)
extern

Free memory previously allocated for message.

Parameters
msg
Returns
void

Definition at line 87 of file dmtxmessage.c.