Search
lxdream.org :: lxdream/src/maple/maple.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/maple.h
changeset 502:c4ecae2b1b5e
prev480:d28c2992f5ee
next561:533f6b478071
author nkeynes
date Wed Nov 14 10:18:21 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Add portugese and german translations (thanks to GT and TK)
file annotate diff log raw
1.1 --- a/src/maple/maple.h Wed Oct 31 11:53:35 2007 +0000
1.2 +++ b/src/maple/maple.h Wed Nov 14 10:18:21 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: maple.h,v 1.9 2007-10-31 11:53:35 nkeynes Exp $
1.6 + * $Id: maple.h,v 1.10 2007-11-08 11:54:16 nkeynes Exp $
1.7 *
1.8 * Maple bus definitions
1.9 *
1.10 @@ -79,13 +79,13 @@
1.11 int (*reset)(struct maple_device *dev);
1.12 int (*shutdown)(struct maple_device *dev);
1.13 int (*get_condition)(struct maple_device *dev,
1.14 - int function, unsigned char *outbuf, int *buflen);
1.15 + int function, unsigned char *outbuf, unsigned int *buflen);
1.16 int (*set_condition)(struct maple_device *dev,
1.17 - int function, unsigned char *inbuf, int buflen);
1.18 + int function, unsigned char *inbuf, unsigned int buflen);
1.19 int (*read_block)(struct maple_device *dev,
1.20 - int function, uint32_t block, unsigned char *outbuf, int *buflen);
1.21 + int function, uint32_t block, unsigned char *outbuf, unsigned int *buflen);
1.22 int (*write_block)(struct maple_device *dev,
1.23 - int function, uint32_t block, unsigned char *inbuf, int buflen);
1.24 + int function, uint32_t block, unsigned char *inbuf, unsigned int buflen);
1.25 };
1.26
1.27 extern struct maple_device_class controller_class;
.