/*
- * "$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
# 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 */
#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 $".
*/