/*
* 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 <topo_alloc.h>
#include <topo_error.h>
#include <topo_parse.h>
#include <topo_subr.h>
{
tf_info_t *r;
return (NULL);
}
tf_info_free(mp, r);
return (NULL);
}
return (r);
}
void
{
xmlFreeDoc(p->tf_xdoc);
}
{
tf_rdata_t *r;
return (NULL);
}
goto rdata_nogood;
}
goto rdata_nogood;
}
goto rdata_nogood;
goto rdata_nogood;
goto rdata_nogood;
}
if (topo_xml_range_process(mp, n, r) < 0)
goto rdata_nogood;
return (r);
tf_rdata_free(mp, r);
return (NULL);
}
void
{
if (p == NULL)
return;
}
{
tf_idata_t *r;
return (NULL);
r->ti_i = i;
return (r);
}
void
{
if (p == NULL)
return;
}
int
{
tf_idata_t *l, *p;
p = NULL;
break;
p = l;
}
if (p == NULL)
else
return (0);
}
{
tf_idata_t *f;
if (i == f->ti_i)
break;
return (f);
}
tf_pad_t *
{
tf_pad_t *r;
return (NULL);
r->tpad_pgcnt = pcnt;
return (r);
}
void
{
int n;
if (p == NULL)
return;
for (n = 0; n < p->tpad_pgcnt; n++)
nvlist_free(p->tpad_pgs[n]);
}
}
void
{
if (p == NULL)
return;
}