Header file

The xxlib.h typically contains the following declarations:

/*
 *  qrlib.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, int nlen, char * dataout, int type, int imode, int ilevel, int flag);
int getTypeName(int itype, char * name);
int getModeName(int itype, int mode,char * mess);
int getLevels(int itype, int mode);
int getErrorMess(int errorcode,char * errorstring);
int setSerial(char * serialnumber);
int getPattern(char * szPattern, int ilen);
// int setAspect(int v1, int v2);  // for PDF417 library only
END_C_DECLS

 

More:

The 2D fonts