/*
* 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
*/
/*
*/
#include <stdlib.h>
#include <errno.h>
#include <libnvpair.h>
#include <fmd_agent_impl.h>
static int
int err)
{
}
static int
{
int err;
/* Get the cache type and level */
== 0) {
&cache) == 0) {
} else {
}
/* Set strandid, cachetype, and cachelevel */
/* And cacheindex, cacheway */
&cacheindex) == 0 &&
cacheindex)) != 0))
&cacheway) == 0 &&
cacheway)) != 0))
(void) nvlist_lookup_int32(outnvl,
}
return (0);
}
static int
{
switch (ver) {
case 1:
default:
}
}
int
{
int ret;
if (ret == 0)
return (FMD_AGENT_RETIRE_DONE);
return (FMD_AGENT_RETIRE_ASYNC);
else
return (FMD_AGENT_RETIRE_FAIL);
}
int
{
int ret;
}
int
{
int status;
return (-1);
}