libzfs.h (235222) | libzfs.h (236155) |
---|---|
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 (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 10 unchanged lines hidden (view full) --- 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 24 * Copyright 2011 Nexenta Systems, Inc. All rights reserved. 25 * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net>. 26 * All rights reserved. | 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 (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 10 unchanged lines hidden (view full) --- 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 24 * Copyright 2011 Nexenta Systems, Inc. All rights reserved. 25 * Copyright (c) 2011 Pawel Jakub Dawidek <pawel@dawidek.net>. 26 * All rights reserved. |
27 * Copyright (c) 2011 by Delphix. All rights reserved. | 27 * Copyright (c) 2012 by Delphix. All rights reserved. |
28 * Copyright (c) 2012, Joyent, Inc. All rights reserved. 29 * Copyright (c) 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved. 30 */ 31 32#ifndef _LIBZFS_H 33#define _LIBZFS_H 34 35#include <assert.h> --- 196 unchanged lines hidden (view full) --- 232} splitflags_t; 233 234/* 235 * Functions to manipulate pool and vdev state 236 */ 237extern int zpool_scan(zpool_handle_t *, pool_scan_func_t); 238extern int zpool_clear(zpool_handle_t *, const char *, nvlist_t *); 239extern int zpool_reguid(zpool_handle_t *); | 28 * Copyright (c) 2012, Joyent, Inc. All rights reserved. 29 * Copyright (c) 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved. 30 */ 31 32#ifndef _LIBZFS_H 33#define _LIBZFS_H 34 35#include <assert.h> --- 196 unchanged lines hidden (view full) --- 232} splitflags_t; 233 234/* 235 * Functions to manipulate pool and vdev state 236 */ 237extern int zpool_scan(zpool_handle_t *, pool_scan_func_t); 238extern int zpool_clear(zpool_handle_t *, const char *, nvlist_t *); 239extern int zpool_reguid(zpool_handle_t *); |
240extern int zpool_reopen(zpool_handle_t *); |
|
240 241extern int zpool_vdev_online(zpool_handle_t *, const char *, int, 242 vdev_state_t *); 243extern int zpool_vdev_offline(zpool_handle_t *, const char *, boolean_t); 244extern int zpool_vdev_attach(zpool_handle_t *, const char *, 245 const char *, nvlist_t *, int); 246extern int zpool_vdev_detach(zpool_handle_t *, const char *); 247extern int zpool_vdev_remove(zpool_handle_t *, const char *); --- 513 unchanged lines hidden --- | 241 242extern int zpool_vdev_online(zpool_handle_t *, const char *, int, 243 vdev_state_t *); 244extern int zpool_vdev_offline(zpool_handle_t *, const char *, boolean_t); 245extern int zpool_vdev_attach(zpool_handle_t *, const char *, 246 const char *, nvlist_t *, int); 247extern int zpool_vdev_detach(zpool_handle_t *, const char *); 248extern int zpool_vdev_remove(zpool_handle_t *, const char *); --- 513 unchanged lines hidden --- |