]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/usb.c
Load cups into easysw/current.
[thirdparty/cups.git] / backend / usb.c
index ede0292d74a901079c5206e2d57e17244f9f7305..6665f282ed5b4db8175e98c67a34818ee999c2a1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: usb.c 5162 2006-02-24 03:15:13Z mike $"
+ * "$Id: usb.c 5373 2006-04-06 20:03:32Z mike $"
  *
  *   USB port backend for the Common UNIX Printing System (CUPS).
  *
@@ -63,7 +63,7 @@
 void   list_devices(void);
 int    print_device(const char *uri, const char *hostname,
                     const char *resource, const char *options,
-                    int fp, int copies);
+                    int fp, int copies, int argc, char *argv[]);
 
 
 /*
@@ -109,7 +109,9 @@ print_device(const char *uri,               /* I - Device URI */
              const char *resource,     /* I - Resource/modelname */
             const char *options,       /* I - Device options/serial number */
             int        fp,             /* I - File descriptor to print */
-            int        copies)         /* I - Copies to print */
+            int        copies,         /* I - Copies to print */
+            int        argc,           /* I - Number of command-line arguments (6 or 7) */
+            char       *argv[])        /* I - Command-line arguments */
 {
  /*
   * Can't print, so just reference the arguments to eliminate compiler
@@ -124,6 +126,8 @@ print_device(const char *uri,               /* I - Device URI */
   (void)options;
   (void)fp;
   (void)copies;
+  (void)argc;
+  (void)argv;
 
   return (CUPS_BACKEND_FAILED);
 }
@@ -251,7 +255,7 @@ main(int  argc,                             /* I - Number of command-line arguments (6 or 7) */
   * Finally, send the print file...
   */
 
-  status = print_device(uri, hostname, resource, options, fp, copies);
+  status = print_device(uri, hostname, resource, options, fp, copies, argc, argv);
 
  /*
   * Close the input file and return...
@@ -265,5 +269,5 @@ main(int  argc,                             /* I - Number of command-line arguments (6 or 7) */
 
 
 /*
- * End of "$Id: usb.c 5162 2006-02-24 03:15:13Z mike $".
+ * End of "$Id: usb.c 5373 2006-04-06 20:03:32Z mike $".
  */