The unilib.h contains the following declarations, including those of the barcode types supported by the library.
/*
* unilib.h
*
dLSoft
*/
/* BEGIN_C_DECLS should be used at the beginning of your
declarations,
so that C++ compilers don't mangle their names. Use END_C_DECLS at
the end of C
declarations. */
#undef BEGIN_C_DECLS
#undef END_C_DECLS
#ifdef
__cplusplus
# define BEGIN_C_DECLS extern "C" {
# define END_C_DECLS
}
#else
# define BEGIN_C_DECLS /* empty */
# define END_C_DECLS /*
empty */
#endif
#include <stdlib.h>
BEGIN_C_DECLS
int
barcode(const char * datain, char * dataout, int itype, int autocheck, int
flag);
int getHR(char * humanString);
int getTypeName(int * itype, char *
name);
int getErrorMess(int * errorcode,char * errorstring);
int
setSerial(char * serialnumber);
char * getPattern();
int
isClocked();
END_C_DECLS
#define
CODA
0 //
Codabar
#define C128
1 // Code
128
#define C39
2 // Code
39
#define X39
3 // Extended Code
39
#define C93
4 // Code
93
#define X93
5 // Extended Code
93
#define CB
6 // Code
B
#define C11
7 // Code
11
#define DEU
8 //
DeutschePost
#define E128
9 // EAN/UCC
128
#define EAN8 10
// EAN-8
#define
EAN82
11 // EAN-8 + 2
digits
#define EAN85
12 // EAN-8 + 5
digits
#define EAN13
13 // EAN/UCC-13
#define
EAN132
14 // EAN/UCC-13 + 2
digits
#define EAN135
15 // EAN/UCC-13 + 5
digits
#define EAN14
16 // EAN/UCC-14
#define
FIMA 17 //
FIMA
#define FIMB 18
// FIMB
#define FIMC
19 // FIMC
#define
I25
20 // Interleaved 2 of
5
#define ITF6 21
// ITF-6
#define ITF14
22 // ITF-14
#define
ISBN 23 //
ISBN
#define ISSN 24
// ISSN
#define ISMN
25 // ISMN
#define
IT3 26
// Italia Post 3 of 9
#define IT2
27 // Italia Post 2 of
5
#define M25 28
// Matrix 2 of 5
#define MSI
29 // MSI=Plessey
#define
PLES 30 //
Plessey
#define SSCC 31
// SSCC
#define S25
32 // Standard 2 of
5
#define SWIS 33 //
Swiss Post
#define TP1
34 // Telepen
#define
TPA 35 //
Telepen ASCII
#define TPN
36 // Telepen
numeric
#define UPCA 37
// UPC-A
#define
UPCA2
38 // UPC-A + 2
digits
#define UPCA5
39 // UPC-A + 5
digits
#define UPCE 40
// UPC-E
#define
UPCE2
41 // UPC-E + 2
digits
#define UPCE5
42 // UPC-E + 5 digits
//
clocked codes
#define A4ST
43 // 4 State
#define
JAP 44
// Japan Post
#define KOR
45 // Korean Postal
Authority
#define
PLA12
46 // Planet-12
#define
PLA14
47 // Planet-14
#define
PNA 48 //
PostNet
#define RM4
49 // RM4SCC