xref: /illumos-gate/usr/src/cmd/lp/lib/msgs/msgfmts.c (revision fc910014e8a32a65612105835a10995f2c13d942)
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 /* LINTLIBRARY */
30 
31 char	*_lp_msg_fmts[] =
32 {
33     "",           	/* 0 - R_BAD_MESSAGE */
34     "HSS",		/* 1 - S_NEW_QUEUE */
35     "H",          	/* 2 - R_NEW_QUEUE */
36     "H",          	/* 3 - S_ALLOC_FILES */
37     "HS",         	/* 4 - R_ALLOC_FILES */
38     "S",          	/* 5 - S_PRINT_REQUEST */
39     "HSL",         	/* 6 - R_PRINT_REQUEST */
40     "S",          	/* 7 - S_START_CHANGE_REQUEST */
41     "HS",         	/* 8 - R_START_CHANGE_REQUEST */
42     "S",          	/* 9 - S_END_CHANGE_REQUEST */
43     "HL",         	/* 10 - R_END_CHANGE_REQUEST */
44     "S",          	/* 11 - S_CANCEL_REQUEST */
45     "H",          	/* 12 - R_CANCEL_REQUEST */
46     "SSSSS",       	/* 13 - S_INQUIRE_REQUEST */
47     "HSSSLLHSSSS",     	/* 14 - R_INQUIRE_REQUEST */
48     "S",          	/* 15 - S_LOAD_PRINTER */
49     "H",          	/* 16 - R_LOAD_PRINTER */
50     "S",          	/* 17 - S_UNLOAD_PRINTER */
51     "H",          	/* 18 - R_UNLOAD_PRINTER */
52     "S",          	/* 19 - S_INQUIRE_PRINTER_STATUS */
53     "HSSSSSHSLL", 	/* 20 - R_INQUIRE_PRINTER_STATUS */
54     "S",          	/* 21 - S_LOAD_CLASS */
55     "H",          	/* 22 - R_LOAD_CLASS */
56     "S",          	/* 23 - S_UNLOAD_CLASS */
57     "H",          	/* 24 - R_UNLOAD_CLASS */
58     "S",          	/* 25 - S_INQUIRE_CLASS */
59     "HSHSL",      	/* 26 - R_INQUIRE_CLASS */
60     "SSS",        	/* 27 - S_MOUNT */
61     "H",          	/* 28 - R_MOUNT */
62     "SSS",        	/* 29 - S_UNMOUNT */
63     "H",          	/* 30 - R_UNMOUNT */
64     "SS",         	/* 31 - S_MOVE_REQUEST */
65     "HL",          	/* 32 - R_MOVE_REQUEST */
66     "SS",         	/* 33 - S_MOVE_DEST */
67     "HSH",          	/* 34 - R_MOVE_DEST */
68     "S",          	/* 35 - S_ACCEPT_DEST */
69     "H",          	/* 36 - R_ACCEPT_DEST */
70     "SS",         	/* 37 - S_REJECT_DEST */
71     "H",          	/* 38 - R_REJECT_DEST */
72     "S",          	/* 39 - S_ENABLE_DEST */
73     "H",          	/* 40 - R_ENABLE_DEST */
74     "SSH",         	/* 41 - S_DISABLE_DEST */
75     "HS",          	/* 42 - R_DISABLE_DEST */
76     "",          	/* 43 - S_LOAD_FILTER_TABLE */
77     "H",          	/* 44 - R_LOAD_FILTER_TABLE */
78     "",          	/* 45 - S_UNLOAD_FILTER_TABLE */
79     "H",          	/* 46 - R_UNLOAD_FILTER_TABLE */
80     "S",           	/* 47 - S_LOAD_PRINTWHEEL */
81     "H",          	/* 48 - R_LOAD_PRINTWHEEL */
82     "S",           	/* 49 - S_UNLOAD_PRINTWHEEL */
83     "H",          	/* 50 - R_UNLOAD_PRINTWHEEL */
84     "",           	/* 51 - S_LOAD_USER_FILE */
85     "H",          	/* 52 - R_LOAD_USER_FILE */
86     "",           	/* 53 - S_UNLOAD_USER_FILE */
87     "H",          	/* 54 - R_UNLOAD_USER_FILE */
88     "S",		/* 55 - S_LOAD_FORM */
89     "H",		/* 56 - R_LOAD_FORM */
90     "S",		/* 57 - S_UNLOAD_FORM */
91     "H",		/* 58 - R_UNLOAD_FORM */
92     "S",		/* 59 - S_GETSTATUS */
93     "S",		/* 60 - R_GETSTATUS */
94     "SH",		/* 61 - S_QUIET_ALERT */
95     "H",		/* 62 - R_QUIET_ALERT */
96     "SLS",		/* 63 - S_SEND_FAULT */
97     "H",		/* 64 - R_SEND_FAULT */
98     "H",          	/* 65 - S_SHUTDOWN */
99     "H",          	/* 66 - R_SHUTDOWN */
100     "",			/* 67 - S_GOODBYE */
101     "LHH",		/* 68 - S_CHILD_DONE */
102     "",           	/* 69 - I_GET_TYPE */
103     "",			/* 70 - I_QUEUE_CHK */
104     "SH",		/* 71 - R_CONNECT */
105     "SSHH",		/* 72 - S_GET_STATUS */
106     "HSHH",		/* 73 - R_GET_STATUS */
107     "HSSSSS",		/* 74 - S_INQUIRE_REQUEST_RANK */
108     "HSSSLLHSSSHS",	/* 75 - R_INQUIRE_REQUEST_RANK */
109     "SSS",		/* 76 - S_CANCEL */
110     "HLS",		/* 77 - R_CANCEL */
111     "S",		/* 78 - S_NEW_CHILD */
112     "SSH",		/* 79 - R_NEW_CHILD */
113     "SHSD",		/* 80 - S_SEND_JOB */
114     "SHD",		/* 81 - R_SEND_JOB */
115     "HSS",		/* 82 - S_JOB_COMPLETED */
116     "H",		/* 83 - R_JOB_COMPLETED */
117     "S",          	/* 84 - S_INQUIRE_REMOTE_PRINTER */
118 /*  "",	*/		/*    - the R_INQUIRE_REMOTE_STATUS uses format 20 */
119     "H",		/* 85 - S_CHILD_SYNC */
120     "S",		/* 86 - S_LOAD_SYSTEM */
121     "H",		/* 87 - R_LOAD_SYSTEM */
122     "S",		/* 88 - S_UNLOAD_SYSTEM */
123     "H",		/* 89 - R_UNLOAD_SYSTEM */
124     "SLS",		/* 90 - S_CLEAR_FAULT */
125     "H",		/* 91 - R_CLEAR_FAULT */
126     "SSSH",        	/* 92 - S_MOUNT_TRAY */
127     "H",          	/* 93 - R_MOUNT_TRAY */
128     "SSSH",        	/* 94 - S_UNMOUNT_TRAY */
129     "H",          	/* 95 - R_UNMOUNT_TRAY */
130     "SH",        	/* 96 - S_MAX_TRAYS */
131     "H",          	/* 97 - R_MAX_TRAY */
132     "SHSHH",        	/* 98 - S_PAPER_CHANGED */
133     "H",          	/* 99 - R_PAPER_CHANGED */
134     "S",          	/* 100 - S_PAPER_ALLOWED */
135     "HSS",          	/* 101 - R_PAPER_ALLOWED */
136     "",          	/* 102 - S_PASS_PEER_CONNECTION */
137     "H",          	/* 103 - R_PASS_PEER_CONNECTION */
138     0,
139 };
140