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: zht2.h 9043 2008-08-28 22:48:19Z giles $ */
15 /* Level 2 sethalftone support */
16 
17 #ifndef zht2_INCLUDED
18 #  define zht2_INCLUDED
19 
20 #include "gscspace.h"            /* for gs_separation_name */
21 
22 /*
23  * This routine translates a gs_separation_name value into a character string
24  * pointer and a string length.
25  */
26 int gs_get_colorname_string(const gs_memory_t *mem,
27 			    gs_separation_name colorname_index,
28 			    unsigned char **ppstr,
29 			    unsigned int *pname_size);
30 
31 #endif /* zht2_INCLUDED */
32