2N/A/*
2N/A * CDDL HEADER START
2N/A *
2N/A * The contents of this file are subject to the terms of the
2N/A * Common Development and Distribution License (the "License").
2N/A * You may not use this file except in compliance with the License.
2N/A *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A * If applicable, add the following below this CDDL HEADER, with the
2N/A * fields enclosed by brackets "[]" replaced with your own identifying
2N/A * information: Portions Copyright [yyyy] [name of copyright owner]
2N/A *
2N/A * CDDL HEADER END
2N/A */
2N/A
2N/A/*
2N/A * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2N/A */
2N/A
2N/A#ifndef _LIBSHADOWTEST_H
2N/A#define _LIBSHADOWTEST_H
2N/A
2N/A#include <sys/vfs.h>
2N/A#include <sys/fs/shadow.h>
2N/A
2N/A#ifdef __cplusplus
2N/Aextern "C" {
2N/A#endif
2N/A
2N/Aextern int st_init(void);
2N/Aextern void st_fini(void);
2N/A
2N/Aextern int st_verify_pending(int, int, char **);
2N/Aextern int st_verify_pending_empty(int, const char *);
2N/A
2N/Aextern int st_suspend(void);
2N/Aextern int st_resume(void);
2N/Aextern int st_rotate(const char *);
2N/Aextern int st_spin(const char *, boolean_t);
2N/A
2N/Aextern int st_cred_set(void);
2N/Aextern int st_cred_clear(void);
2N/A
2N/Aextern int st_get_fid(const char *, fid_t *);
2N/A
2N/Aextern int st_migrate_kthread(const char *);
2N/A
2N/Aextern int st_iter_space_map(const char *,
2N/A void (*)(int, uint64_t, uint64_t, void *), void *);
2N/A
2N/A#ifdef __cplusplus
2N/A}
2N/A#endif
2N/A
2N/A#endif /* _LIBSHADOWTEST_H */