10Sstevel@tonic-gate /* 20Sstevel@tonic-gate * CDDL HEADER START 30Sstevel@tonic-gate * 40Sstevel@tonic-gate * The contents of this file are subject to the terms of the 51676Sjpk * Common Development and Distribution License (the "License"). 61676Sjpk * You may not use this file except in compliance with the License. 70Sstevel@tonic-gate * 80Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate * See the License for the specific language governing permissions 110Sstevel@tonic-gate * and limitations under the License. 120Sstevel@tonic-gate * 130Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate * 190Sstevel@tonic-gate * CDDL HEADER END 200Sstevel@tonic-gate */ 210Sstevel@tonic-gate /* 221676Sjpk * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate * Use is subject to license terms. 240Sstevel@tonic-gate */ 250Sstevel@tonic-gate 260Sstevel@tonic-gate /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 270Sstevel@tonic-gate /* All Rights Reserved */ 280Sstevel@tonic-gate 290Sstevel@tonic-gate 30*3125Sjacobs #pragma ident "%Z%%M% %I% %E% SMI" 310Sstevel@tonic-gate /* LINTLIBRARY */ 320Sstevel@tonic-gate 330Sstevel@tonic-gate char *_lp_msg_fmts[] = 340Sstevel@tonic-gate { 350Sstevel@tonic-gate "", /* 0 - R_BAD_MESSAGE */ 360Sstevel@tonic-gate "HSS", /* 1 - S_NEW_QUEUE */ 370Sstevel@tonic-gate "H", /* 2 - R_NEW_QUEUE */ 380Sstevel@tonic-gate "H", /* 3 - S_ALLOC_FILES */ 390Sstevel@tonic-gate "HS", /* 4 - R_ALLOC_FILES */ 400Sstevel@tonic-gate "S", /* 5 - S_PRINT_REQUEST */ 410Sstevel@tonic-gate "HSL", /* 6 - R_PRINT_REQUEST */ 420Sstevel@tonic-gate "S", /* 7 - S_START_CHANGE_REQUEST */ 430Sstevel@tonic-gate "HS", /* 8 - R_START_CHANGE_REQUEST */ 440Sstevel@tonic-gate "S", /* 9 - S_END_CHANGE_REQUEST */ 450Sstevel@tonic-gate "HL", /* 10 - R_END_CHANGE_REQUEST */ 460Sstevel@tonic-gate "S", /* 11 - S_CANCEL_REQUEST */ 470Sstevel@tonic-gate "H", /* 12 - R_CANCEL_REQUEST */ 480Sstevel@tonic-gate "SSSSS", /* 13 - S_INQUIRE_REQUEST */ 491676Sjpk "HSSSLLHSSSS", /* 14 - R_INQUIRE_REQUEST */ 500Sstevel@tonic-gate "S", /* 15 - S_LOAD_PRINTER */ 510Sstevel@tonic-gate "H", /* 16 - R_LOAD_PRINTER */ 520Sstevel@tonic-gate "S", /* 17 - S_UNLOAD_PRINTER */ 530Sstevel@tonic-gate "H", /* 18 - R_UNLOAD_PRINTER */ 540Sstevel@tonic-gate "S", /* 19 - S_INQUIRE_PRINTER_STATUS */ 550Sstevel@tonic-gate "HSSSSSHSLL", /* 20 - R_INQUIRE_PRINTER_STATUS */ 560Sstevel@tonic-gate "S", /* 21 - S_LOAD_CLASS */ 570Sstevel@tonic-gate "H", /* 22 - R_LOAD_CLASS */ 580Sstevel@tonic-gate "S", /* 23 - S_UNLOAD_CLASS */ 590Sstevel@tonic-gate "H", /* 24 - R_UNLOAD_CLASS */ 600Sstevel@tonic-gate "S", /* 25 - S_INQUIRE_CLASS */ 610Sstevel@tonic-gate "HSHSL", /* 26 - R_INQUIRE_CLASS */ 620Sstevel@tonic-gate "SSS", /* 27 - S_MOUNT */ 630Sstevel@tonic-gate "H", /* 28 - R_MOUNT */ 640Sstevel@tonic-gate "SSS", /* 29 - S_UNMOUNT */ 650Sstevel@tonic-gate "H", /* 30 - R_UNMOUNT */ 660Sstevel@tonic-gate "SS", /* 31 - S_MOVE_REQUEST */ 670Sstevel@tonic-gate "HL", /* 32 - R_MOVE_REQUEST */ 680Sstevel@tonic-gate "SS", /* 33 - S_MOVE_DEST */ 690Sstevel@tonic-gate "HSH", /* 34 - R_MOVE_DEST */ 700Sstevel@tonic-gate "S", /* 35 - S_ACCEPT_DEST */ 710Sstevel@tonic-gate "H", /* 36 - R_ACCEPT_DEST */ 720Sstevel@tonic-gate "SS", /* 37 - S_REJECT_DEST */ 730Sstevel@tonic-gate "H", /* 38 - R_REJECT_DEST */ 740Sstevel@tonic-gate "S", /* 39 - S_ENABLE_DEST */ 750Sstevel@tonic-gate "H", /* 40 - R_ENABLE_DEST */ 760Sstevel@tonic-gate "SSH", /* 41 - S_DISABLE_DEST */ 770Sstevel@tonic-gate "HS", /* 42 - R_DISABLE_DEST */ 780Sstevel@tonic-gate "", /* 43 - S_LOAD_FILTER_TABLE */ 790Sstevel@tonic-gate "H", /* 44 - R_LOAD_FILTER_TABLE */ 800Sstevel@tonic-gate "", /* 45 - S_UNLOAD_FILTER_TABLE */ 810Sstevel@tonic-gate "H", /* 46 - R_UNLOAD_FILTER_TABLE */ 820Sstevel@tonic-gate "S", /* 47 - S_LOAD_PRINTWHEEL */ 830Sstevel@tonic-gate "H", /* 48 - R_LOAD_PRINTWHEEL */ 840Sstevel@tonic-gate "S", /* 49 - S_UNLOAD_PRINTWHEEL */ 850Sstevel@tonic-gate "H", /* 50 - R_UNLOAD_PRINTWHEEL */ 860Sstevel@tonic-gate "", /* 51 - S_LOAD_USER_FILE */ 870Sstevel@tonic-gate "H", /* 52 - R_LOAD_USER_FILE */ 880Sstevel@tonic-gate "", /* 53 - S_UNLOAD_USER_FILE */ 890Sstevel@tonic-gate "H", /* 54 - R_UNLOAD_USER_FILE */ 900Sstevel@tonic-gate "S", /* 55 - S_LOAD_FORM */ 910Sstevel@tonic-gate "H", /* 56 - R_LOAD_FORM */ 920Sstevel@tonic-gate "S", /* 57 - S_UNLOAD_FORM */ 930Sstevel@tonic-gate "H", /* 58 - R_UNLOAD_FORM */ 940Sstevel@tonic-gate "S", /* 59 - S_GETSTATUS */ 950Sstevel@tonic-gate "S", /* 60 - R_GETSTATUS */ 960Sstevel@tonic-gate "SH", /* 61 - S_QUIET_ALERT */ 970Sstevel@tonic-gate "H", /* 62 - R_QUIET_ALERT */ 980Sstevel@tonic-gate "SLS", /* 63 - S_SEND_FAULT */ 990Sstevel@tonic-gate "H", /* 64 - R_SEND_FAULT */ 1000Sstevel@tonic-gate "H", /* 65 - S_SHUTDOWN */ 1010Sstevel@tonic-gate "H", /* 66 - R_SHUTDOWN */ 1020Sstevel@tonic-gate "", /* 67 - S_GOODBYE */ 103*3125Sjacobs "LHH", /* 68 - S_CHILD_DONE */ 1040Sstevel@tonic-gate "", /* 69 - I_GET_TYPE */ 1050Sstevel@tonic-gate "", /* 70 - I_QUEUE_CHK */ 1060Sstevel@tonic-gate "SH", /* 71 - R_CONNECT */ 1070Sstevel@tonic-gate "SSHH", /* 72 - S_GET_STATUS */ 1080Sstevel@tonic-gate "HSHH", /* 73 - R_GET_STATUS */ 1090Sstevel@tonic-gate "HSSSSS", /* 74 - S_INQUIRE_REQUEST_RANK */ 1101676Sjpk "HSSSLLHSSSHS", /* 75 - R_INQUIRE_REQUEST_RANK */ 1110Sstevel@tonic-gate "SSS", /* 76 - S_CANCEL */ 1120Sstevel@tonic-gate "HLS", /* 77 - R_CANCEL */ 1130Sstevel@tonic-gate "S", /* 78 - S_NEW_CHILD */ 1140Sstevel@tonic-gate "SSH", /* 79 - R_NEW_CHILD */ 1150Sstevel@tonic-gate "SHSD", /* 80 - S_SEND_JOB */ 1160Sstevel@tonic-gate "SHD", /* 81 - R_SEND_JOB */ 1170Sstevel@tonic-gate "HSS", /* 82 - S_JOB_COMPLETED */ 1180Sstevel@tonic-gate "H", /* 83 - R_JOB_COMPLETED */ 1190Sstevel@tonic-gate "S", /* 84 - S_INQUIRE_REMOTE_PRINTER */ 1200Sstevel@tonic-gate /* "", */ /* - the R_INQUIRE_REMOTE_STATUS uses format 20 */ 1210Sstevel@tonic-gate "H", /* 85 - S_CHILD_SYNC */ 1220Sstevel@tonic-gate "S", /* 86 - S_LOAD_SYSTEM */ 1230Sstevel@tonic-gate "H", /* 87 - R_LOAD_SYSTEM */ 1240Sstevel@tonic-gate "S", /* 88 - S_UNLOAD_SYSTEM */ 1250Sstevel@tonic-gate "H", /* 89 - R_UNLOAD_SYSTEM */ 1260Sstevel@tonic-gate "SLS", /* 90 - S_CLEAR_FAULT */ 1270Sstevel@tonic-gate "H", /* 91 - R_CLEAR_FAULT */ 1280Sstevel@tonic-gate "SSSH", /* 92 - S_MOUNT_TRAY */ 1290Sstevel@tonic-gate "H", /* 93 - R_MOUNT_TRAY */ 1300Sstevel@tonic-gate "SSSH", /* 94 - S_UNMOUNT_TRAY */ 1310Sstevel@tonic-gate "H", /* 95 - R_UNMOUNT_TRAY */ 1320Sstevel@tonic-gate "SH", /* 96 - S_MAX_TRAYS */ 1330Sstevel@tonic-gate "H", /* 97 - R_MAX_TRAY */ 1340Sstevel@tonic-gate "SHSHH", /* 98 - S_PAPER_CHANGED */ 1350Sstevel@tonic-gate "H", /* 99 - R_PAPER_CHANGED */ 1360Sstevel@tonic-gate "S", /* 100 - S_PAPER_ALLOWED */ 1370Sstevel@tonic-gate "HSS", /* 101 - R_PAPER_ALLOWED */ 1381676Sjpk "", /* 102 - S_PASS_PEER_CONNECTION */ 1391676Sjpk "H", /* 103 - R_PASS_PEER_CONNECTION */ 1400Sstevel@tonic-gate 0, 1410Sstevel@tonic-gate }; 142