OpenCBM
gcr.h
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version
5  * 2 of the License, or (at your option) any later version.
6  *
7  * Copyright 1999 Michael Klein <michael(dot)klein(at)puffin(dot)lb(dot)shuttle(dot)de>
8  * Copyright 2006 Wolfgang Moser (http://d81.de)
9  */
10 
11 #ifndef GCR_H
12 #define GCR_H
13 
14 #define BLOCKSIZE 256
15 #define GCRBUFSIZE 326
16 
17 #include "opencbm.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 extern int gcr_decode(const unsigned char *gcr, unsigned char *decoded);
24 extern int gcr_encode(const unsigned char *block, unsigned char *encoded);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif
DLL interface for accessing the driver.