home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $Source: WB_2.1:homes/rkr/prog/sercli/src/RCS/errors.h,v $
- ** $Author: rkr $
- ** $Revision: 1.5 $
- ** $Locker: rkr $
- ** $State: Exp $
- ** $Date: 1993/06/16 23:33:42 $
- **
- ** sercli (an Amiga .device <-> FIFO interface tool)
- ** Copyright (C) 1993 Richard Rauch
- **
- ** See /doc/sercli.doc and /COPYING for use and distribution license.
- **
- */
-
- typedef void (*error_handler) (void *error);
-
- typedef enum
- {
- error_type_serial = 0,
-
- num_error_types
- } error_type;
-
-
- extern error_handler set_error_handler (error_type type, error_handler new_handler);
- extern void handle_error (error_type type, void *error);
-