1 /* Copyright (C) 2001-2006 Artifex Software, Inc. 2 All Rights Reserved. 3 4 This software is provided AS-IS with no warranty, either express or 5 implied. 6 7 This software is distributed under license and may not be copied, modified 8 or distributed except as expressly authorized under the terms of that 9 license. Refer to licensing information at http://www.artifex.com/ 10 or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, 11 San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. 12 */ 13 14 /* $Id: istream.h 9043 2008-08-28 22:48:19Z giles $ */ 15 /* Interpreter support procedures for streams */ 16 /* Requires scommon.h */ 17 18 #ifndef istream_INCLUDED 19 # define istream_INCLUDED 20 21 /* Procedures exported by zfproc.c */ 22 23 /* for zfilter.c - procedure stream initialization */ 24 int sread_proc(ref *, stream **, gs_ref_memory_t *); 25 int swrite_proc(ref *, stream **, gs_ref_memory_t *); 26 27 /* for interp.c, zfileio.c, zpaint.c - handle a procedure */ 28 /* callback or an interrupt */ 29 int s_handle_read_exception(i_ctx_t *, int, const ref *, const ref *, 30 int, op_proc_t); 31 int s_handle_write_exception(i_ctx_t *, int, const ref *, const ref *, 32 int, op_proc_t); 33 34 #endif /* istream_INCLUDED */ 35