llib-lunistat revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews/*
e285c6ea84312a7be807b3af30151444b0002ba6Mark Andrews * CDDL HEADER START
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews *
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * The contents of this file are subject to the terms of the
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater * Common Development and Distribution License (the "License").
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews * You may not use this file except in compliance with the License.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews *
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * or http://www.opensolaris.org/os/licensing.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews *
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews * If applicable, add the following below this CDDL HEADER, with the
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews * fields enclosed by brackets "[]" replaced with your own identifying
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews * information: Portions Copyright [yyyy] [name of copyright owner]
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein *
dfea6f0eaadb9287cfcdc1566ac2f997af1b075aBob Halley * CDDL HEADER END
bc8711b1489e1b25f311f4f6161355708f643f3dMark Andrews */
bc8711b1489e1b25f311f4f6161355708f643f3dMark Andrews/* LINTLIBRARY */
bc8711b1489e1b25f311f4f6161355708f643f3dMark Andrews/* PROTOLIB1 */
bc8711b1489e1b25f311f4f6161355708f643f3dMark Andrews
bc8711b1489e1b25f311f4f6161355708f643f3dMark Andrews/*
bc8711b1489e1b25f311f4f6161355708f643f3dMark Andrews * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
bc8711b1489e1b25f311f4f6161355708f643f3dMark Andrews * Use is subject to license terms.
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews */
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include <sys/types.h>
b57bb9136af9f1bf84378f1f11f0efc55c52c628Mark Andrews#include <stdio.h>
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include <stdarg.h>
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include <sys/unistat/spcs_s.h>
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews#include <sys/unistat/spcs_s_u.h>
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsvoid spcs_s_uinit(spcs_s_info_t ustatus);
53bd3f325f898b6892742ce928da3daa02ba0eddDavid Lawrencespcs_s_info_t spcs_s_ucreate(void);
53bd3f325f898b6892742ce928da3daa02ba0eddDavid Lawrencechar *spcs_s_string(spcs_s_info_t ustatus, char *msg);
53bd3f325f898b6892742ce928da3daa02ba0eddDavid Lawrencevoid spcs_s_report(spcs_s_info_t ustatus, FILE *fd);
53bd3f325f898b6892742ce928da3daa02ba0eddDavid Lawrencevoid spcs_s_exception(spcs_s_info_t ustatus, void *env);
53bd3f325f898b6892742ce928da3daa02ba0eddDavid Lawrencevoid spcs_s_ufree(spcs_s_info_t *ustatus_a);
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrewsvoid spcs_log(const char *product, spcs_s_info_t *status,
e285c6ea84312a7be807b3af30151444b0002ba6Mark Andrews const char *format, ...);
e285c6ea84312a7be807b3af30151444b0002ba6Mark Andrews