00001 /* 00002 * This program is free software; you can redistribute it and/or 00003 * modify it under the terms of the GNU General Public License 00004 * as published by the Free Software Foundation; either version 00005 * 2 of the License, or (at your option) any later version. 00006 * 00007 * Copyright 1999 Michael Klein <michael(dot)klein(at)puffin(dot)lb(dot)shuttle(dot)de> 00008 */ 00009 00010 /* $Id: gcr.h,v 1.2 2006/02/24 12:01:15 trikalio Exp $ */ 00011 00012 #ifndef GCR_H 00013 #define GCR_H 00014 00015 #define BLOCKSIZE 256 00016 #define GCRBUFSIZE 326 00017 00018 #ifdef __cplusplus 00019 extern "C" { 00020 #endif 00021 00022 extern int gcr_decode(unsigned const char *gcr, unsigned char *decoded); 00023 extern int gcr_encode(unsigned const char *block, unsigned char *encoded); 00024 00025 #ifdef __cplusplus 00026 } 00027 #endif 00028 00029 #endif
1.4.2