X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=iec16022ecc200.h;h=ba2aea94e8dc2bef177e5bd4fec2aed9421ad012;hb=2714bd5f1a2132b34f1f20d3177fb03db969c9b6;hp=265dd31bec21168310c3d722c511eb20ad103587;hpb=41a50e0be362adbf81c6dae915aa716f76e897a2;p=iec16022 diff --git a/iec16022ecc200.h b/iec16022ecc200.h index 265dd31..ba2aea9 100644 --- a/iec16022ecc200.h +++ b/iec16022ecc200.h @@ -1,12 +1,12 @@ -/** +/** * * IEC16022 bar code generation * Adrian Kennard, Andrews & Arnold Ltd * with help from Cliff Hones on the RS coding * * (c) 2004 Adrian Kennard, Andrews & Arnold Ltd - * (c) 2006 Stefan Schmidt - * + * (c) 2006-2007 Stefan Schmidt + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -26,9 +26,9 @@ * Returns the grid (malloced) containing the matrix. L corner at 0,0. * Takes suggested size in *Wptr, *Hptr, or 0,0. Fills in actual size. * Takes barcodelen and barcode to be encoded - * Note, if *encodingptr is null, then fills with auto picked (malloced) + * Note, if *encodingptr is null, then fills with auto picked (malloced) * encoding. - * If lenp not null, then the length of encoded data before any final unlatch + * If lenp not null, then the length of encoded data before any final unlatch * or pad is stored. * If maxp not null, then the max storage of this size code is stored * If eccp not null, then the number of ecc bytes used in this size is stored @@ -36,9 +36,12 @@ * */ +#ifndef __IEC16022ECC200_H +#define __IEC16022ECC200_H -unsigned char * -iec16022ecc200 (int *Wptr, int *Hptr, char **encodingptr, int barcodelen, \ - unsigned char *barcode, int *lenp,int *maxp,int *eccp); +unsigned char *iec16022ecc200(int *Wptr, int *Hptr, char **encodingptr, + int barcodelen, unsigned char *barcode, + int *lenp, int *maxp, int *eccp); #define MAXBARCODE 3116 +#endif /* __IEC16022ECC200_H */