Lines Matching refs:usb_printer_t
55 } usb_printer_t; typedef
57 typedef int (*usb_cb_t)(usb_printer_t *, const char *, const char *,
62 usb_printer_t *printer; /* Printer */
129 static int close_device(usb_printer_t *printer);
131 static usb_printer_t *find_device(usb_cb_t cb, const void *data);
133 static int get_device_id(usb_printer_t *printer, char *buffer,
135 static int list_cb(usb_printer_t *printer, const char *device_uri,
138 static char *make_device_uri(usb_printer_t *printer,
141 static int open_device(usb_printer_t *printer, int verbose);
142 static int print_cb(usb_printer_t *printer, const char *device_uri,
147 static int soft_reset_printer(usb_printer_t *printer);
662 close_device(usb_printer_t *printer) /* I - Printer */ in close_device()
790 static usb_printer_t * /* O - Found printer */
819 static usb_printer_t printer; /* Current printer */ in find_device()
1044 get_device_id(usb_printer_t *printer, /* I - Printer */ in get_device_id()
1112 list_cb(usb_printer_t *printer, /* I - Printer */ in list_cb()
1249 usb_printer_t *printer, /* I - Printer */ in make_device_uri()
1390 open_device(usb_printer_t *printer, /* I - Printer */ in open_device()
1595 print_cb(usb_printer_t *printer, /* I - Printer */ in print_cb()
1985 usb_printer_t *printer) /* I - Printer */ in soft_reset_printer()