/*
- * "$Id: lpstat.c 5529 2006-05-15 20:06:46Z mike $"
+ * "$Id: lpstat.c 5833 2006-08-16 20:05:58Z mike $"
*
* "lpstat" command for the Common UNIX Printing System (CUPS).
*
*/
int
-main(int argc, /* I - Number of command-line arguments */
- char *argv[]) /* I - Command-line arguments */
+main(int argc, /* I - Number of command-line arguments */
+ char *argv[]) /* I - Command-line arguments */
{
- int i, /* Looping var */
- status; /* Exit status */
- http_t *http; /* Connection to server */
- int num_dests; /* Number of user destinations */
- cups_dest_t *dests; /* User destinations */
- int long_status; /* Long status report? */
- int ranking; /* Show job ranking? */
- const char *which; /* Which jobs to show? */
- char op; /* Last operation on command-line */
+ int i, /* Looping var */
+ status; /* Exit status */
+ http_t *http; /* Connection to server */
+ int num_dests; /* Number of user destinations */
+ cups_dest_t *dests; /* User destinations */
+ int long_status; /* Long status report? */
+ int ranking; /* Show job ranking? */
+ const char *which; /* Which jobs to show? */
+ char op; /* Last operation on command-line */
+ _cupsSetLocale();
+
/*
- * Set the locale so that times, etc. are displayed properly.
+ * Parse command-line options...
*/
- setlocale(LC_ALL, "");
-
http = NULL;
num_dests = 0;
dests = NULL;
/*
- * End of "$Id: lpstat.c 5529 2006-05-15 20:06:46Z mike $".
+ * End of "$Id: lpstat.c 5833 2006-08-16 20:05:58Z mike $".
*/