xref: /plan9/sys/src/cmd/gs/src/iinit.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1999 Aladdin Enterprises.  All rights reserved.
2 
3   This software is provided AS-IS with no warranty, either express or
4   implied.
5 
6   This software is distributed under license and may not be copied,
7   modified or distributed except as expressly authorized under the terms
8   of the license contained in the file LICENSE in this distribution.
9 
10   For more information about licensing, please refer to
11   http://www.ghostscript.com/licensing/. For information on
12   commercial licensing, go to http://www.artifex.com/licensing/ or
13   contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14   San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15 */
16 
17 /* $Id: iinit.h,v 1.5 2002/06/16 04:47:10 lpd Exp $ */
18 /* (Internal) interface to iinit.c */
19 
20 #ifndef iinit_INCLUDED
21 #  define iinit_INCLUDED
22 
23 /*
24  * Declare initialization procedures exported by iinit.c for imain.c.
25  * These must be executed in the order they are declared below.
26  */
27 int obj_init(i_ctx_t **, gs_dual_memory_t *);
28 int zop_init(i_ctx_t *);
29 int op_init(i_ctx_t *);
30 
31 /*
32  * Test whether there are any Level 2 operators in the executable.
33  * (This is different from the language level in which the interpreter is
34  * actually running: it is only tested during initialization.)
35  */
36 bool gs_have_level2(void);
37 
38 #endif /* iinit_INCLUDED */
39