#include <cups/cups.h>
int cupsGetJobs(cups_job_t ** jobs, const char * mydest, int myjobs, int completed);
int cupsGetJobs
Get the jobs from the default server.
Number of jobs