cmds.c (82725ba9bf1fd59746a4006a06f24d4d61d142f2) cmds.c (04389c855e56d1715637fa43575ec13455a68b2e)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1983, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 80 unchanged lines hidden (view full) ---

89static void wrapup_clean(int _laststatus);
90
91/*
92 * generic framework for commands which operate on all or a specified
93 * set of printers
94 */
95enum qsel_val { /* how a given ptr was selected */
96 QSEL_UNKNOWN = -1, /* ... not selected yet */
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1983, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 80 unchanged lines hidden (view full) ---

89static void wrapup_clean(int _laststatus);
90
91/*
92 * generic framework for commands which operate on all or a specified
93 * set of printers
94 */
95enum qsel_val { /* how a given ptr was selected */
96 QSEL_UNKNOWN = -1, /* ... not selected yet */
97 QSEL_BYNAME = 0, /* ... user specifed it by name */
97 QSEL_BYNAME = 0, /* ... user specified it by name */
98 QSEL_ALL = 1 /* ... user wants "all" printers */
99 /* (with more to come) */
100};
101
102static enum qsel_val generic_qselect; /* indicates how ptr was selected */
103static int generic_initerr; /* result of initrtn processing */
104static char *generic_cmdname;
105static char *generic_msg; /* if a -msg was specified */

--- 1227 unchanged lines hidden ---
98 QSEL_ALL = 1 /* ... user wants "all" printers */
99 /* (with more to come) */
100};
101
102static enum qsel_val generic_qselect; /* indicates how ptr was selected */
103static int generic_initerr; /* result of initrtn processing */
104static char *generic_cmdname;
105static char *generic_msg; /* if a -msg was specified */

--- 1227 unchanged lines hidden ---