*
* 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
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 _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);
/*