Changeset View
Changeset View
Standalone View
Standalone View
cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.h
Show All 14 Lines | |||||
* If applicable, add the following below this CDDL HEADER, with the | * If applicable, add the following below this CDDL HEADER, with the | ||||
* fields enclosed by brackets "[]" replaced with your own identifying | * fields enclosed by brackets "[]" replaced with your own identifying | ||||
* information: Portions Copyright [yyyy] [name of copyright owner] | * information: Portions Copyright [yyyy] [name of copyright owner] | ||||
* | * | ||||
* CDDL HEADER END | * CDDL HEADER END | ||||
*/ | */ | ||||
/* | /* | ||||
* Copyright (c) 2012, 2016 by Delphix. All rights reserved. | * Copyright (c) 2012, 2020 by Delphix. All rights reserved. | ||||
* Copyright (c) 2013 by Martin Matuska <mm@FreeBSD.org>. All rights reserved. | * Copyright (c) 2013 by Martin Matuska <mm@FreeBSD.org>. All rights reserved. | ||||
* Copyright 2017 RackTop Systems. | * Copyright 2017 RackTop Systems. | ||||
* Copyright (c) 2017 Datto Inc. | * Copyright (c) 2017 Datto Inc. | ||||
*/ | */ | ||||
#ifndef _LIBZFS_CORE_H | #ifndef _LIBZFS_CORE_H | ||||
#define _LIBZFS_CORE_H | #define _LIBZFS_CORE_H | ||||
▲ Show 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
int lzc_channel_program(const char *, const char *, uint64_t, | int lzc_channel_program(const char *, const char *, uint64_t, | ||||
uint64_t, nvlist_t *, nvlist_t **); | uint64_t, nvlist_t *, nvlist_t **); | ||||
int lzc_channel_program_nosync(const char *, const char *, uint64_t, | int lzc_channel_program_nosync(const char *, const char *, uint64_t, | ||||
uint64_t, nvlist_t *, nvlist_t **); | uint64_t, nvlist_t *, nvlist_t **); | ||||
int lzc_pool_checkpoint(const char *); | int lzc_pool_checkpoint(const char *); | ||||
int lzc_pool_checkpoint_discard(const char *); | int lzc_pool_checkpoint_discard(const char *); | ||||
int lzc_set_bootenv(const char *, const nvlist_t *); | |||||
int lzc_get_bootenv(const char *, nvlist_t **); | |||||
#ifdef __cplusplus | #ifdef __cplusplus | ||||
} | } | ||||
#endif | #endif | ||||
#endif /* _LIBZFS_CORE_H */ | #endif /* _LIBZFS_CORE_H */ |