]> 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 e38ca26e1aa30f171ae946e3dd42dc3d0b649a41..146b51eeffae78673dddb4edb90e4de75aa541ad 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * "$Id: ipp-private.h 6649 2007-07-11 21:46:42Z mike $"
+ * "$Id: ipp-private.h 7259 2008-01-28 22:26:04Z mike $"
  *
  *   Private IPP definitions for the Common UNIX Printing System (CUPS).
  *
- *   Copyright 2007 by Apple Inc.
+ *   Copyright 2007-2008 by Apple Inc.
  *   Copyright 1997-2006 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
@@ -34,12 +34,28 @@ 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? */
   const char   *name;                  /* Option/attribute name */
   ipp_tag_t    value_tag;              /* Value tag for this attribute */
   ipp_tag_t    group_tag;              /* Group tag for this attribute */
@@ -65,5 +81,5 @@ extern void           _ippFreeAttr(ipp_attribute_t *);
 #endif /* !_CUPS_IPP_H_ */
 
 /*
- * End of "$Id: ipp-private.h 6649 2007-07-11 21:46:42Z mike $".
+ * End of "$Id: ipp-private.h 7259 2008-01-28 22:26:04Z mike $".
  */