/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */
#include "mt.h"
#include "uucp.h"
/* Configurable parameters */
/* Non-configurable parameters */
static int Debug;
static long Retrytime;
static void (*genbrk)();
/* messages */
static char *UerrorText[] = {
/* SS_OK 0 */ "SUCCESSFUL",
/* SS_NO_DEVICE 1 */ "NO DEVICES AVAILABLE",
/* SS_TIME_WRONG 2 */ "WRONG TIME TO CALL",
/* SS_INPROGRESS 3 */ "TALKING",
/* SS_CONVERSATION 4 */ "CONVERSATION FAILED",
/* SS_SEQBAD 5 */ "BAD SEQUENCE CHECK",
/* SS_LOGIN_FAILED 6 */ "LOGIN FAILED",
/* SS_DIAL_FAILED 7 */ "DIAL FAILED",
/* SS_LOCKED_DEVICE 9 */ "DEVICE LOCKED",
/* SS_ASSERT_ERROR 10 */ "ASSERT ERROR",
/* SS_BADSYSTEM 11 */ "SYSTEM NOT IN Systems FILE",
/* SS_CANT_ACCESS_DEVICE 12 */ "CAN'T ACCESS DEVICE",
/* SS_DEVICE_FAILED 13 */ "DEVICE FAILED",
/* SS_WRONG_MCH 14 */ "WRONG MACHINE NAME",
/* SS_CALLBACK 15 */ "CALLBACK REQUIRED",
/* SS_RLOCKED 16 */ "REMOTE HAS A LCK FILE FOR ME",
/* SS_RUNKNOWN 17 */ "REMOTE DOES NOT KNOW ME",
/* SS_RLOGIN 18 */ "REMOTE REJECT AFTER LOGIN",
/* SS_UNKNOWN_RESPONSE 19 */ "REMOTE REJECT, UNKNOWN MESSAGE",
/* SS_STARTUP 20 */ "STARTUP FAILED",
/* SS_CHAT_FAILED 21 */ "CALLER SCRIPT FAILED",
/* SS_CALLBACK_LOOP 22 */ "CALLBACK REQUIRED - LOOP",
};