* the GNU General Public License.
*
* Copyright 2004 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999, 2000, 2001, 2003 Bernardo Innocenti <bernie@develer.com>
+ * Copyright 1999, 2000, 2001, 2003 Bernie Innocenti <bernie@codewiz.org>
*
* -->
*
* you have to declare your context structure:
*
* \code
- * typedef struct KFileSerial
+ * typedef struct SerialKFile
* {
* KFile fd;
* Serial *ser;
- * } KFileSerial;
+ * } Serial;
* \endcode
*
- * You should also supply a macro for casting KFile to KFileSerial:
+ * You should also supply a macro for casting KFile to SerialKFile:
*
* \code
- * INLINE KFileSerial * KFILESERIAL(KFile *fd)
+ * INLINE Serial * SERIAL_CAST(KFile *fd)
* {
* ASSERT(fd->_type == KFT_SERIAL);
- * return (KFileSerial *)fd;
+ * return (Serial *)fd;
* }
* \endcode
*
* \code
* static int ser_kfile_close(struct KFile *fd)
* {
- * KFileSerial *fds = KFILESERIAL(fd);
+ * SerialKFile *fds = SerialKFile(fd);
* ser_close(fds->ser);
* return 0;
* }
* \endcode
- * KFILESERIAL macro helps to ensure that obj passed is really a Serial.
+ * SerialKFile macro helps to ensure that obj passed is really a Serial.
*
* KFile interface do not supply the open function: this is deliberate,
* because in embedded systems each device has its own init parameters.
*
* \version $Id$
*
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
* \author Francesco Sacchi <batt@develer.com>
* \author Daniele Basile <asterix@develer.com>
*/