/*
* 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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.7.1.1 */
/*
* lserror.h: Network listener error exit codes.
* The codes in the defines index the table below to
* give the actual exit code. (The table is in lsdata.c)
*
* An exit code of 1 means initialization problem
* before logging is available
*
* An exit code of 0 means the listener got past
* it's initialization and made itself independent
* of it's parent.
*
* Not all of the errors listed below will cause error exits.
*/
#define lserror_h
/*
*/
#define CONTINUE 0
/*
* E_INCONSISTENT should only be seen by developers/integrators/etc.
* In the listener, in check_files(), where cmd line args
* and the data base file entries are merged, a pathname
* of a required file (e.g.: pidfile, logfile) was NULL.
*/
/*
* TLI errors.
* E_T_ALLOC: probably couldn't malloc() (out of memory?)
* E_T_BIND: Couldn't bind nodename or netnodename!!!
* E_BIND_REQ: TLI didn't bind the requested name!!!
* E_IN_TLI: System call failed in a TLI routine.
*
*/
/* miscellaneous errors */
listener doesn't have an
intermediary to 'exec' */
tried to fork itself to start
a service. */
/*
* E_OPENBIND: problem during t_open in initialization
* actually means the driver ran out of minor devices or the
* system file table is full -- reboot or wait recommended
*/
renumbering is bad) */
renumbering is bad) */
with fd in private_tab */
typedef struct {
char *err_msg;
int err_code;
} errlist;
#ifndef GLOBAL_DATA
extern char *Usage;
#endif
#endif /* lserror_h */