ipmp_admin.c revision e11c3f44f531fdff80941ce57c065d2ae861cefc
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* IPMP administrative interfaces (see PSARC/2007/272).
*/
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include "ipmp_impl.h"
#include "ipmp_mpathd.h"
#include "ipmp_admin.h"
static int
{
int save_errno;
int retval;
return (IPMP_FAILURE);
if (retval != IPMP_SUCCESS)
return (retval);
if (retval != IPMP_SUCCESS)
goto out;
if (retval != IPMP_SUCCESS)
goto out;
out:
save_errno = errno;
errno = save_errno;
return (retval);
}
int
{
}
int
{
}
int
{
}