libzfs.h (332525) | libzfs.h (332536) |
---|---|
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 --- 377 unchanged lines hidden (view full) --- 386 char **path; /* a list of paths to search */ 387 int paths; /* number of paths to search */ 388 char *poolname; /* name of a pool to find */ 389 uint64_t guid; /* guid of a pool to find */ 390 char *cachefile; /* cachefile to use for import */ 391 int can_be_active : 1; /* can the pool be active? */ 392 int unique : 1; /* does 'poolname' already exist? */ 393 int exists : 1; /* set on return if pool already exists */ | 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 --- 377 unchanged lines hidden (view full) --- 386 char **path; /* a list of paths to search */ 387 int paths; /* number of paths to search */ 388 char *poolname; /* name of a pool to find */ 389 uint64_t guid; /* guid of a pool to find */ 390 char *cachefile; /* cachefile to use for import */ 391 int can_be_active : 1; /* can the pool be active? */ 392 int unique : 1; /* does 'poolname' already exist? */ 393 int exists : 1; /* set on return if pool already exists */ |
394 nvlist_t *policy; /* rewind policy (rewind txg, etc.) */ |
|
394} importargs_t; 395 396extern nvlist_t *zpool_search_import(libzfs_handle_t *, importargs_t *); 397 398/* legacy pool search routines */ 399extern nvlist_t *zpool_find_import(libzfs_handle_t *, int, char **); 400extern nvlist_t *zpool_find_import_cached(libzfs_handle_t *, const char *, 401 char *, uint64_t); --- 436 unchanged lines hidden --- | 395} importargs_t; 396 397extern nvlist_t *zpool_search_import(libzfs_handle_t *, importargs_t *); 398 399/* legacy pool search routines */ 400extern nvlist_t *zpool_find_import(libzfs_handle_t *, int, char **); 401extern nvlist_t *zpool_find_import_cached(libzfs_handle_t *, const char *, 402 char *, uint64_t); --- 436 unchanged lines hidden --- |