/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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 (c) 1994, by Sun Microsytems, Inc.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "libtnf.h"
/*
* XXX This module assumes that all arrays are self-sized records.
*/
/*
*
*/
static struct taginfo * get_array_info(
/*
* XXX Assumes arrays are (self-sized) records
*/
void
{
if (!INFO_ARRAY(info))
}
/*
* Helper
*/
static struct taginfo *
{
return (info);
}
/*
* Return number of elements in array
*/
unsigned
{
/* LINTED pointer cast may result in improper alignment */
}
/*
* Fetch indexed element
*/
{
/* LINTED pointer cast may result in improper alignment */
/*
* If tagged, use the tag to construct datum
*/
if (INFO_TAGGED(elt)) {
/* LINTED pointer cast may result in improper alignment */
/* NULL elements are allowed */
} else
}
/*
* Return element type of array
*/
{
}
/*
* Return a char pointer for string record
*/
char *
{
if (!INFO_STRING(info))
}
/*
* Return the base pointer of array
*/
{
}