/*
- * "$Id: string.h 4683 2005-09-21 22:17:44Z mike $"
+ * "$Id: string.h 5047 2006-02-02 05:14:15Z mike $"
*
* String definitions for the Common UNIX Printing System (CUPS).
*
- * Copyright 1997-2005 by Easy Software Products.
+ * Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* property of Easy Software Products and are protected by Federal
# endif /* __cplusplus */
+/*
+ * String pool structures...
+ */
+
+typedef struct _cups_sp_item_s /**** String Pool Item ****/
+{
+ char *str; /* String */
+ unsigned int ref_count; /* Reference count */
+} _cups_sp_item_t;
+
+
/*
* Prototypes...
*/
# define vsnprintf _cups_vsnprintf
# endif /* !HAVE_VSNPRINTF */
+/*
+ * String pool functions...
+ */
+
+extern char *_cups_sp_alloc(const char *s);
+extern void _cups_sp_free(const char *s);
+extern size_t _cups_sp_statistics(size_t *alloc_bytes, size_t *total_bytes);
+
/*
* C++ magic...
#endif /* !_CUPS_STRING_H_ */
/*
- * End of "$Id: string.h 4683 2005-09-21 22:17:44Z mike $".
+ * End of "$Id: string.h 5047 2006-02-02 05:14:15Z mike $".
*/