/*
* 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 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <stdlib.h>
#include <errno.h>
#include <libnvpair.h>
#include <fmd_agent_impl.h>
static int
int err)
{
}
static int
{
int err;
uint_t i, n;
&cpus, &n)) != 0)
== NULL)
for (i = 0; i < n; i++) {
while (i > 0)
nvlist_free(nvl_array[--i]);
}
}
*ncpup = n;
return (0);
}
int
{
switch (ver) {
case 1:
default:
}
}
static int
int strandid, int *old_status)
{
int err;
if (old_status != NULL) {
(void) nvlist_lookup_int32(outnvl,
*old_status = status;
}
}
return (0);
}
static int
int strandid, int *old_status)
{
switch (ver) {
case 1:
old_status));
default:
}
}
int
{
int ret;
NULL);
}
int
int strandid)
{
&status);
}
int
int strandid)
{
int ret;
}