/external/libcups/scheduler/ |
D | printers.h | 142 VAR cupsd_printer_t *DefaultPrinter VALUE(NULL); 155 extern cupsd_printer_t *cupsdAddPrinter(const char *name); 158 extern int cupsdDeletePrinter(cupsd_printer_t *p, int update); 160 extern cupsd_printer_t *cupsdFindDest(const char *name); 161 extern cupsd_printer_t *cupsdFindPrinter(const char *name); 162 extern cupsd_quota_t *cupsdFindQuota(cupsd_printer_t *p, 164 extern void cupsdFreeQuotas(cupsd_printer_t *p); 166 extern void cupsdRenamePrinter(cupsd_printer_t *p, 169 extern int cupsdSetAuthInfoRequired(cupsd_printer_t *p, 172 extern void cupsdSetDeviceURI(cupsd_printer_t *p, const char *uri); [all …]
|
D | classes.h | 15 extern cupsd_printer_t *cupsdAddClass(const char *name); 16 extern void cupsdAddPrinterToClass(cupsd_printer_t *c, 17 cupsd_printer_t *p); 18 extern int cupsdDeletePrinterFromClass(cupsd_printer_t *c, 19 cupsd_printer_t *p); 20 extern int cupsdDeletePrinterFromClasses(cupsd_printer_t *p); 21 extern cupsd_printer_t *cupsdFindAvailablePrinter(const char *name); 22 extern cupsd_printer_t *cupsdFindClass(const char *name);
|
D | classes.c | 21 cupsd_printer_t * /* O - New class */ 24 cupsd_printer_t *c; /* New class */ in cupsdAddClass() 57 cupsd_printer_t *c, /* I - Class to add to */ in cupsdAddPrinterToClass() 58 cupsd_printer_t *p) /* I - Printer to add */ in cupsdAddPrinterToClass() 61 cupsd_printer_t **temp; /* Pointer to printer array */ in cupsdAddPrinterToClass() 77 temp = malloc(sizeof(cupsd_printer_t *)); in cupsdAddPrinterToClass() 79 temp = realloc(c->printers, sizeof(cupsd_printer_t *) * (size_t)(c->num_printers + 1)); in cupsdAddPrinterToClass() 106 cupsd_printer_t *c, /* I - Class to delete from */ in cupsdDeletePrinterFromClass() 107 cupsd_printer_t *p) /* I - Printer to delete */ in cupsdDeletePrinterFromClass() 133 (size_t)(c->num_printers - i) * sizeof(cupsd_printer_t *)); in cupsdDeletePrinterFromClass() [all …]
|
D | subscriptions.h | 75 cupsd_printer_t *dest; /* Associated printer, if any */ 89 cupsd_printer_t *dest; /* notify-printer-uri, if any */ 136 extern void cupsdAddEvent(cupsd_eventmask_t event, cupsd_printer_t *dest, 139 cupsdAddSubscription(unsigned mask, cupsd_printer_t *dest, 151 extern void cupsdExpireSubscriptions(cupsd_printer_t *dest,
|
D | dirsvc.c | 39 static char *get_auth_info_required(cupsd_printer_t *p, 54 static cupsd_txt_t dnssdBuildTxtRecord(cupsd_printer_t *p, int for_lpd); 60 static void dnssdDeregisterPrinter(cupsd_printer_t *p, int clear_name, int from_callback); 77 static int dnssdRegisterInstance(cupsd_srv_t *srv, cupsd_printer_t *p, char *name, const char *typ… 78 static void dnssdRegisterPrinter(cupsd_printer_t *p, int from_callback); 95 cupsd_printer_t *p, /* I - Printer to register */ in cupsdDeregisterPrinter() 127 cupsdRegisterPrinter(cupsd_printer_t *p)/* I - Printer */ in cupsdRegisterPrinter() 341 cupsd_printer_t *p, /* I - Printer information */ in dnssdBuildTxtRecord() 667 cupsd_printer_t *p; /* Current printer */ in dnssdDeregisterAllPrinters() 673 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in dnssdDeregisterAllPrinters() [all …]
|
D | sysman.c | 112 cupsd_printer_t *p; /* Current printer */ in cupsdSetBusyState() 815 cupsd_printer_t *p; /* Printer information */ in sysUpdate() 834 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in sysUpdate() 836 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in sysUpdate() 894 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in sysUpdate() 896 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in sysUpdate() 1008 cupsd_printer_t *p; /* Current printer */ in sysUpdateNames() 1017 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in sysUpdateNames() 1019 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in sysUpdateNames() 1034 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in sysUpdateNames() [all …]
|
D | quotas.c | 21 static cupsd_quota_t *add_quota(cupsd_printer_t *p, const char *username); 32 cupsd_printer_t *p, /* I - Printer */ in cupsdFindQuota() 59 cupsdFreeQuotas(cupsd_printer_t *p) /* I - Printer */ in cupsdFreeQuotas() 84 cupsd_printer_t *p, /* I - Printer */ in cupsdUpdateQuota() 187 add_quota(cupsd_printer_t *p, /* I - Printer */ in add_quota()
|
D | printers.c | 40 static void add_printer_defaults(cupsd_printer_t *p); 41 static void add_printer_filter(cupsd_printer_t *p, mime_type_t *type, 43 static void add_printer_formats(cupsd_printer_t *p); 45 static void delete_printer_filters(cupsd_printer_t *p); 46 static void dirty_printer(cupsd_printer_t *p); 47 static void load_ppd(cupsd_printer_t *p); 56 cupsd_printer_t * /* O - New printer */ 59 cupsd_printer_t *p; /* New printer */ in cupsdAddPrinter() 74 if ((p = calloc(1, sizeof(cupsd_printer_t))) == NULL) in cupsdAddPrinter() 704 cupsd_printer_t *p; /* Pointer to current printer/class */ in cupsdDeleteAllPrinters() [all …]
|
D | colorman.h | 14 extern void cupsdRegisterColor(cupsd_printer_t *p); 17 extern void cupsdUnregisterColor(cupsd_printer_t *p);
|
D | colorman.c | 106 static void apple_register_profiles(cupsd_printer_t *p); 107 static void apple_unregister_profiles(cupsd_printer_t *p); 110 static void colord_create_device(cupsd_printer_t *p, ppd_file_t *ppd, 128 static void colord_register_printer(cupsd_printer_t *p); 129 static void colord_unregister_printer(cupsd_printer_t *p); 138 cupsdRegisterColor(cupsd_printer_t *p) /* I - Printer */ in cupsdRegisterColor() 165 cupsd_printer_t *p; /* Current printer */ in cupsdStartColor() 170 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdStartColor() 172 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdStartColor() 198 cupsdUnregisterColor(cupsd_printer_t *p)/* I - Printer */ in cupsdUnregisterColor() [all …]
|
D | policy.h | 25 typedef struct cupsd_printer_s cupsd_printer_t; typedef 51 cupsd_printer_t *printer,
|
D | job.h | 39 cupsd_printer_t *printer; /* Printer this job is assigned to */ 150 extern cups_array_t *cupsdGetCompletedJobs(cupsd_printer_t *p); 155 extern void cupsdMoveJob(cupsd_job_t *job, cupsd_printer_t *p);
|
D | dirsvc.h | 67 extern void cupsdDeregisterPrinter(cupsd_printer_t *p, int removeit); 68 extern void cupsdRegisterPrinter(cupsd_printer_t *p);
|
D | policy.c | 149 cupsd_printer_t *printer; /* Current printer */ in cupsdDeleteAllPolicies() 159 for (printer = (cupsd_printer_t *)cupsArrayFirst(Printers); in cupsdDeleteAllPolicies() 161 printer = (cupsd_printer_t *)cupsArrayNext(Printers)) in cupsdDeleteAllPolicies() 259 cupsd_printer_t *printer, /* I - Printer, if any */ in cupsdGetPrivateAttrs()
|
D | main.c | 828 cupsd_printer_t *p = NULL; /* Current printer */ in main() 832 …for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Prin… in main() 854 cupsd_printer_t *p; /* Current printer */ in main() 896 for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); in main() 898 p = (cupsd_printer_t *)cupsArrayNext(Printers)) in main() 2066 cupsd_printer_t *p = NULL; /* Current printer */ in service_checkout() 2068 …for (p = (cupsd_printer_t *)cupsArrayFirst(Printers); p; p = (cupsd_printer_t *)cupsArrayNext(Prin… in service_checkout()
|
D | ipp.c | 39 static cupsd_job_t *add_job(cupsd_client_t *con, cupsd_printer_t *printer, 45 cupsd_printer_t *p); 46 static void add_queued_job_count(cupsd_client_t *con, cupsd_printer_t *p); 47 static void apply_printer_defaults(cupsd_printer_t *printer, 54 static int check_quotas(cupsd_client_t *con, cupsd_printer_t *p); 68 cupsd_printer_t *printer, 110 cupsd_printer_t *printer); 115 static int set_printer_defaults(cupsd_client_t *con, cupsd_printer_t *printer); 120 static int user_allowed(cupsd_printer_t *p, const char *username); 698 cupsd_printer_t *printer; /* Destination printer or class */ in cupsdTimeoutJob() [all …]
|
D | subscriptions.c | 35 static void cupsd_send_dbus(cupsd_eventmask_t event, cupsd_printer_t *dest, 51 cupsd_printer_t *dest, /* I - Printer associated with event */ in cupsdAddEvent() 256 cupsd_printer_t *dest, /* I - Printer, if any */ in cupsdAddSubscription() 610 cupsd_printer_t *dest, /* I - Printer, if any */ in cupsdExpireSubscriptions() 1242 cupsd_printer_t *dest,/* I - Destination, if any */ in cupsd_send_dbus()
|
D | log.c | 390 cupsd_printer_t *p = (cupsd_printer_t *)context; in cupsdLogFCMessage() 639 …cupsd_printer_t *printer = job ? (job->printer ? job->printer : (job->dest ? cupsdFindDest(job->de… in cupsdLogJob()
|
D | conf.h | 275 extern int cupsdCheckProgram(const char *filename, cupsd_printer_t *p);
|
D | job.c | 132 static void start_job(cupsd_job_t *job, cupsd_printer_t *printer); 223 cupsd_printer_t *printer, /* Printer destination */ in cupsdCheckJobs() 1477 cupsd_printer_t *p) /* I - Printer */ in cupsdGetCompletedJobs() 1658 cupsd_printer_t *destptr; /* Pointer to destination */ in cupsdLoadJob() 2079 cupsd_printer_t *p) /* I - Destination printer or class */ in cupsdMoveJob() 2083 cupsd_printer_t *oldp; /* Old pointer */ in cupsdMoveJob() 2966 cupsd_printer_t *printer; /* Printer for job */ in dump_job_history() 4787 cupsd_printer_t *printer) /* I - Printer to print job */ in start_job() 5074 cupsd_printer_t *printer = job->printer; in update_job()
|
D | client.c | 2697 cupsd_printer_t *p; /* Printer */ in get_file()
|