2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 2N/A/* All Rights Reserved */ 2N/A#
ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.5.1.1 */ 2N/A * Send service request message to remote listener 2N/A * on previously established virtual circuit to remote 2N/A * If an error occurrs, t_errno will contain an error code. 2N/A * Setting the external integer "_nlslog" to any non-zero 2N/A * value before calling nlsrequest, will cause nlsrequest 2N/A * to print debug information on stderr. 2N/A * initial handshake to insure connectivity. 2N/A * This version of nlsrequest includes the 2N/A * service request response message. 2N/Aextern int _nlslog;
/* non-zero allows use of stderr */ 2N/A * Validate service code 2N/A * send protocol message requesting the service 2N/A t_error(
"t_snd of listener request message failed");
2N/A }
while (*p++ !=
'\0');
2N/A if ((p =
strtok((
char *)0,
":")) == (
char *)0)