]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/ipp-private.h
Merge changes from CUPS 1.4svn-r7994.
[thirdparty/cups.git] / cups / ipp-private.h
index 2d1fd955f9a58ff3d87b84aababa6440ea4458e6..146b51eeffae78673dddb4edb90e4de75aa541ad 100644 (file)
@@ -34,10 +34,25 @@ extern "C" {
 #  endif /* __cplusplus */
 
 
+/*
+ * Constants...
+ */
+
+#  define IPP_BUF_SIZE (IPP_MAX_LENGTH + 2)
+                                       /* Size of buffer */
+
+
 /*
  * Structures...
  */
 
+typedef struct _ipp_buffer_s           /**** Read/write buffer ****/
+{
+  unsigned char                d[IPP_BUF_SIZE];/* Data buffer */
+  struct _ipp_buffer_s *next;          /* Next buffer in list */
+  int                  used;           /* Is this buffer used? */
+} _ipp_buffer_t;
+
 typedef struct                         /**** Attribute mapping data ****/
 {
   int          multivalue;             /* Option has multiple values? */