]> git.sur5r.net Git - iec16022/blobdiff - iec16022ecc200.h
Import Debian changes 0.2.4-1.2
[iec16022] / iec16022ecc200.h
index 265dd31bec21168310c3d722c511eb20ad103587..ba2aea94e8dc2bef177e5bd4fec2aed9421ad012 100644 (file)
@@ -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 <stefan@datenfreihafen.org>
- * 
+ * (c) 2006-2007 Stefan Schmidt <stefan@datenfreihafen.org>
+ *
  * 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
  *
  */
 
+#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 */