Author: vlendec Date: 2004-08-20 14:15:03 +0000 (Fri, 20 Aug 2004) New Revision: 1959
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1959&nolog=1 Log: Add get_printer_fns_from_type, change printif->queue_get. This revealed some behavior I was not aware of in 3.0.6. The background daemon can not expand anything but %p in 'lpq command'. Volker Modified: trunk/source/include/printing.h Changeset: Modified: trunk/source/include/printing.h =================================================================== --- trunk/source/include/printing.h 2004-08-20 14:14:36 UTC (rev 1958) +++ trunk/source/include/printing.h 2004-08-20 14:15:03 UTC (rev 1959) @@ -47,7 +47,10 @@ /* Information for print interfaces */ struct printif { - int (*queue_get)(int snum, print_queue_struct **q, + int (*queue_get)(const char *printer_name, + enum printing_types printing_type, + const char *lpq_command, + print_queue_struct **q, print_status_struct *status); int (*queue_pause)(int snum); int (*queue_resume)(int snum);
