llib-lunistat revision 2
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User/*
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater * CDDL HEADER START
c78c39caab4cf8b5daefc9c65878f7f5ed3eb7a0Tinderbox User *
f536382c59dd492a14667b753816d920f9981f1cTinderbox User * The contents of this file are subject to the terms of the
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User * Common Development and Distribution License (the "License").
7c1468ed500356839a4a222517364e6ce18cb1a2Tinderbox User * You may not use this file except in compliance with the License.
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User *
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1f4c645185bd8fc70048e0a69eee46193a284e5cTinderbox User * or http://www.opensolaris.org/os/licensing.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews * See the License for the specific language governing permissions
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User * and limitations under the License.
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User *
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User * When distributing Covered Code, include this CDDL HEADER in each
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews * If applicable, add the following below this CDDL HEADER, with the
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews * fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews * information: Portions Copyright [yyyy] [name of copyright owner]
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews *
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews * CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews */
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews/* LINTLIBRARY */
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews/* PROTOLIB1 */
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews/*
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews * Use is subject to license terms.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User */
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User#include <sys/types.h>
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#include <stdio.h>
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User#include <stdarg.h>
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews#include <sys/unistat/spcs_s.h>
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#include <sys/unistat/spcs_s_u.h>
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsvoid spcs_s_uinit(spcs_s_info_t ustatus);
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox Userspcs_s_info_t spcs_s_ucreate(void);
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewschar *spcs_s_string(spcs_s_info_t ustatus, char *msg);
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox Uservoid spcs_s_report(spcs_s_info_t ustatus, FILE *fd);
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsvoid spcs_s_exception(spcs_s_info_t ustatus, void *env);
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox Uservoid spcs_s_ufree(spcs_s_info_t *ustatus_a);
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsvoid spcs_log(const char *product, spcs_s_info_t *status,
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User const char *format, ...);
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews