xref: /illumos-gate/usr/src/cmd/lp/lib/msgs/msgfmts.c (revision f94c602698937f2fc025056c894e5a769f39d8fe)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 /*
22  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23  * Use is subject to license terms.
24  */
25 
26 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
27 /*	  All Rights Reserved  	*/
28 
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.18	*/
31 /* LINTLIBRARY */
32 
33 char	*_lp_msg_fmts[] =
34 {
35     "",           	/* 0 - R_BAD_MESSAGE */
36     "HSS",		/* 1 - S_NEW_QUEUE */
37     "H",          	/* 2 - R_NEW_QUEUE */
38     "H",          	/* 3 - S_ALLOC_FILES */
39     "HS",         	/* 4 - R_ALLOC_FILES */
40     "S",          	/* 5 - S_PRINT_REQUEST */
41     "HSL",         	/* 6 - R_PRINT_REQUEST */
42     "S",          	/* 7 - S_START_CHANGE_REQUEST */
43     "HS",         	/* 8 - R_START_CHANGE_REQUEST */
44     "S",          	/* 9 - S_END_CHANGE_REQUEST */
45     "HL",         	/* 10 - R_END_CHANGE_REQUEST */
46     "S",          	/* 11 - S_CANCEL_REQUEST */
47     "H",          	/* 12 - R_CANCEL_REQUEST */
48     "SSSSS",       	/* 13 - S_INQUIRE_REQUEST */
49     "HSSSLLHSSSS",     	/* 14 - R_INQUIRE_REQUEST */
50     "S",          	/* 15 - S_LOAD_PRINTER */
51     "H",          	/* 16 - R_LOAD_PRINTER */
52     "S",          	/* 17 - S_UNLOAD_PRINTER */
53     "H",          	/* 18 - R_UNLOAD_PRINTER */
54     "S",          	/* 19 - S_INQUIRE_PRINTER_STATUS */
55     "HSSSSSHSLL", 	/* 20 - R_INQUIRE_PRINTER_STATUS */
56     "S",          	/* 21 - S_LOAD_CLASS */
57     "H",          	/* 22 - R_LOAD_CLASS */
58     "S",          	/* 23 - S_UNLOAD_CLASS */
59     "H",          	/* 24 - R_UNLOAD_CLASS */
60     "S",          	/* 25 - S_INQUIRE_CLASS */
61     "HSHSL",      	/* 26 - R_INQUIRE_CLASS */
62     "SSS",        	/* 27 - S_MOUNT */
63     "H",          	/* 28 - R_MOUNT */
64     "SSS",        	/* 29 - S_UNMOUNT */
65     "H",          	/* 30 - R_UNMOUNT */
66     "SS",         	/* 31 - S_MOVE_REQUEST */
67     "HL",          	/* 32 - R_MOVE_REQUEST */
68     "SS",         	/* 33 - S_MOVE_DEST */
69     "HSH",          	/* 34 - R_MOVE_DEST */
70     "S",          	/* 35 - S_ACCEPT_DEST */
71     "H",          	/* 36 - R_ACCEPT_DEST */
72     "SS",         	/* 37 - S_REJECT_DEST */
73     "H",          	/* 38 - R_REJECT_DEST */
74     "S",          	/* 39 - S_ENABLE_DEST */
75     "H",          	/* 40 - R_ENABLE_DEST */
76     "SSH",         	/* 41 - S_DISABLE_DEST */
77     "HS",          	/* 42 - R_DISABLE_DEST */
78     "",          	/* 43 - S_LOAD_FILTER_TABLE */
79     "H",          	/* 44 - R_LOAD_FILTER_TABLE */
80     "",          	/* 45 - S_UNLOAD_FILTER_TABLE */
81     "H",          	/* 46 - R_UNLOAD_FILTER_TABLE */
82     "S",           	/* 47 - S_LOAD_PRINTWHEEL */
83     "H",          	/* 48 - R_LOAD_PRINTWHEEL */
84     "S",           	/* 49 - S_UNLOAD_PRINTWHEEL */
85     "H",          	/* 50 - R_UNLOAD_PRINTWHEEL */
86     "",           	/* 51 - S_LOAD_USER_FILE */
87     "H",          	/* 52 - R_LOAD_USER_FILE */
88     "",           	/* 53 - S_UNLOAD_USER_FILE */
89     "H",          	/* 54 - R_UNLOAD_USER_FILE */
90     "S",		/* 55 - S_LOAD_FORM */
91     "H",		/* 56 - R_LOAD_FORM */
92     "S",		/* 57 - S_UNLOAD_FORM */
93     "H",		/* 58 - R_UNLOAD_FORM */
94     "S",		/* 59 - S_GETSTATUS */
95     "S",		/* 60 - R_GETSTATUS */
96     "SH",		/* 61 - S_QUIET_ALERT */
97     "H",		/* 62 - R_QUIET_ALERT */
98     "SLS",		/* 63 - S_SEND_FAULT */
99     "H",		/* 64 - R_SEND_FAULT */
100     "H",          	/* 65 - S_SHUTDOWN */
101     "H",          	/* 66 - R_SHUTDOWN */
102     "",			/* 67 - S_GOODBYE */
103     "LHHH",		/* 68 - S_CHILD_DONE */
104     "",           	/* 69 - I_GET_TYPE */
105     "",			/* 70 - I_QUEUE_CHK */
106     "SH",		/* 71 - R_CONNECT */
107     "SSHH",		/* 72 - S_GET_STATUS */
108     "HSHH",		/* 73 - R_GET_STATUS */
109     "HSSSSS",		/* 74 - S_INQUIRE_REQUEST_RANK */
110     "HSSSLLHSSSHS",	/* 75 - R_INQUIRE_REQUEST_RANK */
111     "SSS",		/* 76 - S_CANCEL */
112     "HLS",		/* 77 - R_CANCEL */
113     "S",		/* 78 - S_NEW_CHILD */
114     "SSH",		/* 79 - R_NEW_CHILD */
115     "SHSD",		/* 80 - S_SEND_JOB */
116     "SHD",		/* 81 - R_SEND_JOB */
117     "HSS",		/* 82 - S_JOB_COMPLETED */
118     "H",		/* 83 - R_JOB_COMPLETED */
119     "S",          	/* 84 - S_INQUIRE_REMOTE_PRINTER */
120 /*  "",	*/		/*    - the R_INQUIRE_REMOTE_STATUS uses format 20 */
121     "H",		/* 85 - S_CHILD_SYNC */
122     "S",		/* 86 - S_LOAD_SYSTEM */
123     "H",		/* 87 - R_LOAD_SYSTEM */
124     "S",		/* 88 - S_UNLOAD_SYSTEM */
125     "H",		/* 89 - R_UNLOAD_SYSTEM */
126     "SLS",		/* 90 - S_CLEAR_FAULT */
127     "H",		/* 91 - R_CLEAR_FAULT */
128     "SSSH",        	/* 92 - S_MOUNT_TRAY */
129     "H",          	/* 93 - R_MOUNT_TRAY */
130     "SSSH",        	/* 94 - S_UNMOUNT_TRAY */
131     "H",          	/* 95 - R_UNMOUNT_TRAY */
132     "SH",        	/* 96 - S_MAX_TRAYS */
133     "H",          	/* 97 - R_MAX_TRAY */
134     "SHSHH",        	/* 98 - S_PAPER_CHANGED */
135     "H",          	/* 99 - R_PAPER_CHANGED */
136     "S",          	/* 100 - S_PAPER_ALLOWED */
137     "HSS",          	/* 101 - R_PAPER_ALLOWED */
138     "",          	/* 102 - S_PASS_PEER_CONNECTION */
139     "H",          	/* 103 - R_PASS_PEER_CONNECTION */
140     0,
141 };
142