]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups/raster-private.h
2 * Private image library definitions for CUPS.
4 * Copyright © 2007-2018 by Apple Inc.
5 * Copyright © 1993-2006 by Easy Software Products.
7 * Licensed under Apache License v2.0. See the file "LICENSE" for more
11 #ifndef _CUPS_RASTER_PRIVATE_H_
12 # define _CUPS_RASTER_PRIVATE_H_
15 * Include necessary headers...
19 # include <cups/cups.h>
20 # include <cups/debug-private.h>
21 # include <cups/string-private.h>
24 # include <winsock2.h> /* for htonl() definition */
36 # define max(a,b) ((a) > (b) ? (a) : (b))
39 # define min(a,b) ((a) < (b) ? (a) : (b))
47 extern int _cupsRasterExecPS(cups_page_header2_t
*h
, int *preferred_bits
,
48 const char *code
) _CUPS_NONNULL(3);
49 extern void _cupsRasterAddError(const char *f
, ...) _CUPS_FORMAT(1,2);
50 extern void _cupsRasterClearError(void);
52 #endif /* !_CUPS_RASTER_PRIVATE_H_ */