/*
* 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 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <strings.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
#include <note.h>
#include <errno.h>
#include <sys/mdesc_impl.h>
#include <sys/sysmacros.h>
#include "mdesc_mutable.h"
static uint32_t
{
int i;
for (i = 0; i < len; i++) {
/* 5 bit rotation */
}
return (hash);
}
static md_string_t *
{
return (msp);
}
return (NULL);
}
static md_string_t *
{
return (NULL);
return (NULL);
}
}
return (msp);
}
static md_data_block_t *
{
return (dbp);
}
return (NULL);
}
static md_data_block_t *
{
return (NULL);
return (NULL);
}
}
return (dbp);
}
{
return (NULL);
return (NULL);
}
return (nodep);
}
static md_prop_t *
{
return (NULL);
return (NULL);
}
return (propp);
}
int
{
return (ENOMEM);
return (0);
}
int
{
return (ENOMEM);
return (NULL);
}
return (0);
}
int
{
return (ENOMEM);
return (ENOMEM);
}
return (0);
}
static int
{
return (ENOMEM);
return (0);
}
char *linktonewp, char *linkbackp)
{
return (NULL);
return (NULL);
}
if (md_add_arc_property(mdp,
return (NULL);
}
}
return (nodep);
}
void
{
}
/* should have deleted all the string refs by here */
}
void
{
}
}
static void
{
case MDET_PROP_VAL:
break;
case MDET_PROP_ARC:
break;
case MDET_PROP_STR:
case MDET_PROP_DAT:
break;
default:
}
}
static void
{
}
}
static void
{
}
}
mmd_t *
md_new_md(void)
{
}
static void
{
}
void
{
switch (type) {
case MDET_NODE:
break;
case MDET_PROP_ARC:
break;
case MDET_PROP_VAL:
break;
case MDET_PROP_STR:
case MDET_PROP_DAT:
break;
case MDET_NULL:
case MDET_NODE_END:
case MDET_LIST_END:
break;
default:
}
}
int
{
int total_size;
/*
* Skip through strings to compute offsets.
*/
offset = 0;
}
/*
* Skip through data blocks to compute offsets.
*/
offset = 0;
}
/*
* Compute the MD elements required to build the element list.
* For each node there is a node start and end, and one
* element for each property.
*/
offset = 0;
}
/*
* Allocate output buffer.
*/
return (0);
/* LINTED */
/*
* Build the element list.
* For each node there is a node start and end, and one
* element for each property.
*/
offset = 0;
/* LINTED */
mdep++;
mdep++;
}
mdep++;
}
mdep++;
/*
* Quick sanity check.
*/
/*
* Skip through strings and stash them..
*/
offset = 0;
}
/*
* Skip through data blocks and stash them.
*/
offset = 0;
}
return (total_size);
}