/*
- * "$Id: globals.h 7583 2008-05-16 17:47:16Z mike $"
+ * "$Id: globals.h 7910 2008-09-06 00:25:17Z mike $"
*
* Global variable definitions for the Common UNIX Printing System (CUPS).
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2009 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
# ifdef HAVE_GETADDRINFO
char hostname[1024]; /* Hostname */
# endif /* HAVE_GETADDRINFO */
+ int need_res_init; /* Need to reinitialize resolver? */
/* ipp.c */
ipp_uchar_t ipp_date[11]; /* RFC-1903 date/time data */
+ _ipp_buffer_t *ipp_buffers; /* Buffer list */
/* ipp-support.c */
int ipp_port; /* IPP port number */
int ppd_line; /* Current line number */
ppd_conform_t ppd_conform; /* Level of conformance required */
+ /* pwgmedia.c */
+ cups_array_t *pwg_size_lut, /* Lookup table for PWG names */
+ *leg_size_lut; /* Lookup table for legacy names */
+
/* snmp.c */
char snmp_community[255];
/* Default SNMP community name */
char user[65], /* User name */
server[256], /* Server address */
servername[256];/* Server hostname */
- cups_password_cb_t password_cb; /* Password callback */
+ cups_password_cb2_t password_cb; /* Password callback */
+ void *password_data; /* Password user data */
/* util.c */
http_t *http; /* Current server connection */
*/
extern http_t *_cupsConnect(void);
+extern int _cupsGet1284Values(const char *device_id,
+ cups_option_t **values);
extern const char *_cupsGetPassword(const char *prompt);
extern _cups_globals_t *_cupsGlobals(void);
-extern void _cupsSetError(ipp_status_t status, const char *message);
+extern void _cupsSetDefaults(void);
+extern void _cupsSetError(ipp_status_t status, const char *message,
+ int localize);
extern void _cupsSetHTTPError(http_status_t status);
+extern char *_cupsUserDefault(char *name, size_t namesize);
/*
#endif /* !_CUPS_GLOBALS_H_ */
/*
- * End of "$Id: globals.h 7583 2008-05-16 17:47:16Z mike $".
+ * End of "$Id: globals.h 7910 2008-09-06 00:25:17Z mike $".
*/