printers: Cache PPD files for later use
Don't get PPD file from CUPS server every time user needs an information from it. Have PPD files stored on disk and delete them on exit.
This commit is contained in:
parent
565258d385
commit
7b830a3c6a
3 changed files with 47 additions and 27 deletions
|
@ -51,7 +51,7 @@ ipp_t *execute_maintenance_command (const char *printer_name,
|
|||
int ccGetAllowedUsers (gchar ***allowed_users,
|
||||
const char *printer_name);
|
||||
|
||||
gchar *get_ppd_attribute (const gchar *printer_name,
|
||||
gchar *get_ppd_attribute (const gchar *ppd_file_name,
|
||||
const gchar *attribute_name);
|
||||
|
||||
void cancel_cups_subscription (gint id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue