X-Git-Url: https://git.sur5r.net/?p=iec16022;a=blobdiff_plain;f=iec16022ecc200.h;h=ba2aea94e8dc2bef177e5bd4fec2aed9421ad012;hp=762b8aeabcff6de53804c87a993b7eaf0a982581;hb=HEAD;hpb=81dd1b1b5dfd4246f61ec1ccda6a297bc398673c diff --git a/iec16022ecc200.h b/iec16022ecc200.h index 762b8ae..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,13 +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 */ +#endif /* __IEC16022ECC200_H */