mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Update to onnv_147
This is the last official OpenSolaris tag before the public development tree was closed.
This commit is contained in:
@@ -19,8 +19,7 @@
|
||||
* CDDL HEADER END
|
||||
*/
|
||||
/*
|
||||
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
|
||||
* Use is subject to license terms.
|
||||
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _SYS_NVPAIR_H
|
||||
@@ -158,6 +157,8 @@ int nvlist_unpack(char *, size_t, nvlist_t **, int);
|
||||
int nvlist_dup(nvlist_t *, nvlist_t **, int);
|
||||
int nvlist_merge(nvlist_t *, nvlist_t *, int);
|
||||
|
||||
uint_t nvlist_nvflag(nvlist_t *);
|
||||
|
||||
int nvlist_xalloc(nvlist_t **, uint_t, nv_alloc_t *);
|
||||
int nvlist_xpack(nvlist_t *, char **, size_t *, int, nv_alloc_t *);
|
||||
int nvlist_xunpack(char *, size_t, nvlist_t **, nv_alloc_t *);
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
|
||||
* Use is subject to license terms.
|
||||
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <sys/stropts.h>
|
||||
@@ -257,6 +256,12 @@ nvlist_init(nvlist_t *nvl, uint32_t nvflag, nvpriv_t *priv)
|
||||
nvl->nvl_pad = 0;
|
||||
}
|
||||
|
||||
uint_t
|
||||
nvlist_nvflag(nvlist_t *nvl)
|
||||
{
|
||||
return (nvl->nvl_nvflag);
|
||||
}
|
||||
|
||||
/*
|
||||
* nvlist_alloc - Allocate nvlist.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user