/*
* 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
*/
/*
*/
/*
* Subscription event access interfaces.
*/
#include <limits.h>
#include <atomic.h>
#include <libsysevent.h>
#include <umem.h>
#include <fm/libfmevent.h>
#include "fmev_impl.h"
typedef struct {
} fmev_impl_t;
#define FM_TIME_SEC 0
/*
* Transform a received sysevent_t into an fmev_t.
*/
{
return (NULL);
/*
* sysevent_get_attr_list duplicates the nvlist - we free it
* in fmev_free when the reference count hits zero.
*/
return (NULL);
}
return (NULL);
}
fmev_bad_tod++;
return (NULL);
}
/*
* Now remove the fmd-private __tod and __ttl members.
*/
}
static void
{
}
void
{
}
void
{
}
{
return (NULL); /* fmev_errno set */
(void) fmev_seterr(FMEVERR_API);
return (NULL);
}
(void) fmev_seterr(FMEVERR_ALLOC);
return (NULL);
}
(void) fmev_seterr(FMEVERR_ALLOC);
return (NULL);
}
}
nvlist_t *
{
return (NULL); /* fmev_errno set */
(void) fmev_seterr(FMEVERR_API);
return (NULL);
(void) fmev_seterr(FMEVERR_MALFORMED_EVENT);
return (NULL);
}
}
const char *
{
const char *class;
return (NULL); /* fmev_errno set */
(void) fmev_seterr(FMEVERR_API);
return ("");
}
*class == '\0') {
(void) fmev_seterr(FMEVERR_MALFORMED_EVENT);
return ("");
}
return (class);
}
{
return (fmev_errno);
#ifdef _LP64
#else
#endif
return (FMEVERR_OVERFLOW);
return (FMEV_SUCCESS);
}
{
}
{
}
struct tm *
{
}
/*
* Inspired by fmd_time_sync
*/
static void
{
uint_t i;
for (i = 0; i < samples; i++) {
}
}
}
{
/* Obtain a reference tod-to-hrtime association */
/* Perform nominal hrt conversion for reference and event timespec */
/* Correct relative to reference hrtime */
}
{
return (NULL);
}