Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / src / cgm / spec.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: spec.h /main/6 1996/07/01 15:35:25 cde-hal $ */
24 /* specification for the external entry point for the CGM->Pixmap library */
25 #ifndef spec_h
26 #define spec_h
27
28 /*
29 #include "GraphicsP.h"
30 */
31 #include <DtI/GraphicsP.h>
32
33 extern enum _DtGrLoadStatus processCGM(
34     _DtGrStream           *stream,
35     Screen                *screen,
36     int                   depth,
37     Colormap              colormap,
38     Visual                *visual,
39     Pixel                 foreground,
40     Pixel                 background,
41     GC                    gc,
42     enum _DtGrColorModel  color_model,
43     Boolean               allow_reduced_colors,
44     Dimension             *in_out_width,
45     Dimension             *in_out_height,
46     unsigned short        media_resolution,
47     Pixmap                *ret_pixmap,
48     Pixmap                *ret_mask,
49     Pixel                 **ret_colors,
50     int                   *ret_num_colors,
51     _DtGrContext          *context);
52 #endif