e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * CDDL HEADER START
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * The contents of this file are subject to the terms of the
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * Common Development and Distribution License, Version 1.0 only
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * (the "License"). You may not use this file except in compliance
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * with the License.
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * or http://www.opensolaris.org/os/licensing.
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * See the License for the specific language governing permissions
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * and limitations under the License.
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * When distributing Covered Code, include this CDDL HEADER in each
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * If applicable, add the following below this CDDL HEADER, with the
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * fields enclosed by brackets "[]" replaced with your own identifying
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * information: Portions Copyright [yyyy] [name of copyright owner]
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * CDDL HEADER END
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * Copyright (c) 1999 by Sun Microsystems, Inc.
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal * All rights reserved.
e5803b76927480e8f9b67b22201c484ccf4c2bcfAdam H. Leventhal#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <stdlib.h>
#include <thread.h>
#include <synch.h>
#include <syslog.h>
#include <slp-internal.h>
#include <slp_net_utils.h>
return (SLP_PARAMETER_BAD);
return (SLP_MEMORY_ALLOC_FAILED);
return (SLP_MEMORY_ALLOC_FAILED);
if (isAsync)
return (SLP_OK);
if (!hSLP) {
if (hp->q) {
goto cleanup;