1 /* 2 * CUPS/PWG Raster utilities header file for CUPS. 3 * 4 * Copyright 2013 by Till Kamppeter. 5 * 6 * Distribution and use rights are outlined in the file "COPYING" 7 * which should have been included with this file. 8 */ 9 10 #ifndef _CUPS_FILTERS_RASTER_H_ 11 # define _CUPS_FILTERS_RASTER_H_ 12 13 # ifdef __cplusplus 14 extern "C" { 15 # endif /* __cplusplus */ 16 17 /* 18 * Include necessary headers... 19 */ 20 21 # include <stdio.h> 22 # include <stdlib.h> 23 # include <time.h> 24 # include <math.h> 25 26 # if defined(WIN32) || defined(__EMX__) 27 # include <io.h> 28 # else 29 # include <unistd.h> 30 # include <fcntl.h> 31 # endif /* WIN32 || __EMX__ */ 32 33 # include <cups/cups.h> 34 # include <cups/raster.h> 35 36 /* 37 * Prototypes... 38 */ 39 40 extern int cupsRasterParseIPPOptions(cups_page_header2_t *h, 41 int num_options, 42 cups_option_t *options, 43 int pwg_raster, 44 int set_defaults); 45 46 # ifdef __cplusplus 47 } 48 # endif /* __cplusplus */ 49 50 #endif /* !_CUPS_FILTERS_RASTER_H_ */ 51 52 /* 53 * End 54 */ 55 56