summaryrefslogtreecommitdiff
path: root/cups/cups-private.h
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-10-10 20:22:24 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-10-10 20:22:24 -0400
commitdd204f7a5030aec83a0c38f695c4bba84a49e4f4 (patch)
treeeff3c3e3e8a0b220d837a611bfb44976adb3efe9 /cups/cups-private.h
parent11ea1663d55f27e27fafc149f933fb764015f648 (diff)
downloadcups-dd204f7a5030aec83a0c38f695c4bba84a49e4f4.tar.gz
Move raster functions into libcups, with stubs that call back to libcups in libcupsimage.
Diffstat (limited to 'cups/cups-private.h')
-rw-r--r--cups/cups-private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/cups/cups-private.h b/cups/cups-private.h
index da3a49c95..451254ba4 100644
--- a/cups/cups-private.h
+++ b/cups/cups-private.h
@@ -51,6 +51,13 @@ typedef struct _cups_buffer_s /**** Read/write buffer ****/
d[1]; /* Data buffer */
} _cups_buffer_t;
+typedef struct _cups_raster_error_s /**** Error buffer structure ****/
+{
+ char *start, /* Start of buffer */
+ *current, /* Current position in buffer */
+ *end; /* End of buffer */
+} _cups_raster_error_t;
+
typedef struct _cups_globals_s /**** CUPS global state data ****/
{
/* Multiple places... */
@@ -122,6 +129,9 @@ typedef struct _cups_globals_s /**** CUPS global state data ****/
char pwg_name[65], /* PWG media name for custom size */
ppd_name[41]; /* PPD media name for custom size */
+ /* raster-error.c */
+ _cups_raster_error_t raster_error; /* Raster error information */
+
/* request.c */
http_t *http; /* Current server connection */
ipp_status_t last_error; /* Last IPP error */