home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / iddstack.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.5 KB  |  41 lines

  1. /* Copyright (C) 1999 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: iddstack.h,v 1.2 2000/09/19 19:00:42 lpd Exp $ */
  20. /* Dictionary stack API subset needed by idict.h */
  21.  
  22. #ifndef iddstack_INCLUDED
  23. #  define iddstack_INCLUDED
  24.  
  25. #ifndef dict_stack_DEFINED
  26. #  define dict_stack_DEFINED
  27. typedef struct dict_stack_s dict_stack_t;
  28. #endif
  29.  
  30. /*
  31.  * Reset the cached top values.  Every routine that alters the
  32.  * dictionary stack (including changing the protection or size of the
  33.  * top dictionary on the stack) must call this.
  34.  */
  35. void dstack_set_top(P1(dict_stack_t *));
  36.  
  37. /* Check whether a dictionary is one of the permanent ones on the d-stack. */
  38. bool dstack_dict_is_permanent(P2(const dict_stack_t *, const ref *));
  39.  
  40. #endif /* iddstack_INCLUDED */
  41.