libzfs.h (07ba0419) libzfs.h (088e9d47)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 115 unchanged lines hidden (view full) ---

124} zpool_status_t;
125
126extern zpool_status_t zpool_get_status(zpool_handle_t *, char **msgid);
127extern zpool_status_t zpool_import_status(nvlist_t *, char **msgid);
128
129/*
130 * Statistics and configuration functions.
131 */
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
8 *

--- 115 unchanged lines hidden (view full) ---

124} zpool_status_t;
125
126extern zpool_status_t zpool_get_status(zpool_handle_t *, char **msgid);
127extern zpool_status_t zpool_import_status(nvlist_t *, char **msgid);
128
129/*
130 * Statistics and configuration functions.
131 */
132extern nvlist_t *zpool_get_config(zpool_handle_t *);
133extern int zpool_refresh_stats(zpool_handle_t *,
134 nvlist_t **oldconfig, nvlist_t **newconfig);
132extern nvlist_t *zpool_get_config(zpool_handle_t *, nvlist_t **oldconfig);
133extern int zpool_refresh_stats(zpool_handle_t *);
135
136/*
137 * Import and export functions
138 */
139extern int zpool_export(zpool_handle_t *);
140extern int zpool_import(nvlist_t *, const char *, const char *);
141
142/*

--- 156 unchanged lines hidden ---
134
135/*
136 * Import and export functions
137 */
138extern int zpool_export(zpool_handle_t *);
139extern int zpool_import(nvlist_t *, const char *, const char *);
140
141/*

--- 156 unchanged lines hidden ---