/*
* 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
*/
/*
*/
#ifndef _LIBSES_H
#define _LIBSES_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdarg.h>
#include <libnvpair.h>
#include <pthread.h>
/*
* element type prop can be created by any plugin. The ses2 plugin created
* SES-2 defined element types and SUN plugin defines vendor specific types.
*/
typedef enum ses_node_type {
typedef enum ses_errno {
} ses_errno_t;
struct ses_target;
struct ses_snap;
struct ses_node;
extern void ses_close(ses_target_t *);
typedef enum ses_walk_action {
extern void ses_snap_rele(ses_snap_t *);
extern ses_errno_t ses_errno(void);
extern const char *ses_errmsg(void);
extern const char *ses_strerror(ses_errno_t);
extern const char *ses_nv_error_member(void);
#ifdef __cplusplus
}
#endif
#endif /* _LIBSES_H */