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: iddstack.h,v 1.5 2002/06/16 04:47:10 lpd Exp $ */ 18 /* Dictionary stack API subset needed by idict.h */ 19 20 #ifndef iddstack_INCLUDED 21 # define iddstack_INCLUDED 22 23 #ifndef dict_stack_DEFINED 24 # define dict_stack_DEFINED 25 typedef struct dict_stack_s dict_stack_t; 26 #endif 27 28 /* 29 * Reset the cached top values. Every routine that alters the 30 * dictionary stack (including changing the protection or size of the 31 * top dictionary on the stack) must call this. 32 */ 33 void dstack_set_top(dict_stack_t *); 34 35 /* Check whether a dictionary is one of the permanent ones on the d-stack. */ 36 bool dstack_dict_is_permanent(const dict_stack_t *, const ref *); 37 38 #endif /* iddstack_INCLUDED */ 39