1 /* $Id: IOECall.h,v 1.1 1994/11/22 01:13:01 ishisone Exp $ */ 2 /* 3 * Copyright (C) 1994 Software Research Associates, Inc. 4 * 5 * Permission to use, copy, modify, and distribute this software and its 6 * documentation for any purpose and without fee is hereby granted, provided 7 * that the above copyright notice appear in all copies and that both that 8 * copyright notice and this permission notice appear in supporting 9 * documentation, and that the name of Software Research Associates not be 10 * used in advertising or publicity pertaining to distribution of the 11 * software without specific, written prior permission. Software Research 12 * Associates makes no representations about the suitability of this software 13 * for any purpose. It is provided "as is" without express or implied 14 * warranty. 15 * 16 * Author: Makoto Ishisone, Software Research Associates, Inc., Japan 17 */ 18 19 #ifndef _IOECall_h 20 #define _IOECall_h 21 22 /* 23 * X I/O error callback handler 24 */ 25 26 /* 27 * XIOEHandle -- an opaque type used as a 'handle' in this library 28 */ 29 typedef struct ioe_cb_desc_ *XIOEHandle; 30 31 extern void XIOEInit( 32 #if NeedFunctionPrototypes 33 void 34 #endif 35 ); 36 37 extern XIOEHandle XIOESet( 38 #if NeedFunctionPrototypes 39 void (*)(), 40 XPointer 41 #endif 42 ); 43 44 extern void XIOEUnset( 45 #if NeedFunctionPrototypes 46 XIOEHandle handle 47 #endif 48 ); 49 50 #endif /* _IOECall_h */ 51