summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/lpc/extern.h
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2002-06-16 01:43:29 +0000
committergad <gad@FreeBSD.org>2002-06-16 01:43:29 +0000
commit075d7239bd1571a0a5a991b23f18657c58988ded (patch)
tree3e8b14a1b66555d9cd706bd0e4eb879eabf4e353 /usr.sbin/lpr/lpc/extern.h
parent3037932163933f3a6355f087e460bf6f7d5e8acc (diff)
downloadFreeBSD-src-075d7239bd1571a0a5a991b23f18657c58988ded.zip
FreeBSD-src-075d7239bd1571a0a5a991b23f18657c58988ded.tar.gz
Add a nearly complete rewrite of the lpc command 'down'. The only user-
visible change should be that more than one queue can now be specified, if one uses the '-msg' parameter to separate the list of queues from the status message to set. The previous implementation of 'down' remains available as the command 'xdown', available for instant fallback if there seems to be anything wrong with the new one. If no one reports a problem after a few weeks, then a later update will remove 'xdown'. Reviewed by: freebsd-print@bostonradio.org MFC after: 10 days
Diffstat (limited to 'usr.sbin/lpr/lpc/extern.h')
-rw-r--r--usr.sbin/lpr/lpc/extern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/lpr/lpc/extern.h b/usr.sbin/lpr/lpc/extern.h
index 211f115..ac79e31 100644
--- a/usr.sbin/lpr/lpc/extern.h
+++ b/usr.sbin/lpr/lpc/extern.h
@@ -45,7 +45,8 @@ __BEGIN_DECLS
void abort_q(struct printer *_pp);
void clean_q(struct printer *_pp);
void disable_q(struct printer *_pp);
-void down(int _argc, char *_argv[]);
+void down_gi(int _argc, char *_argv[]);
+void down_q(struct printer *_pp);
void enable_q(struct printer *_pp);
void generic(void (*_specificrtn)(struct printer *_pp), int _cmdopts,
void (*_initcmd)(int _argc, char *_argv[]),
@@ -64,6 +65,7 @@ void topq(int _argc, char *_argv[]);
void up_q(struct printer *_pp);
void disable(struct printer *_pp); /* X-version */
void doabort(struct printer *_pp); /* X-version */
+void down(int _argc, char *_argv[]); /* X-version */
void enable(struct printer *_pp); /* X-version */
void restart(struct printer *_pp); /* X-version */
void startcmd(struct printer *_pp); /* X-version */
OpenPOWER on IntegriCloud