Merging upstream version 1.6.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
adbb3a10cc
commit
6add9877e4
871 changed files with 8481 additions and 1502 deletions
|
@ -28,3 +28,22 @@ logging functions
|
|||
Sets the default logging variables for the library.
|
||||
|
||||
|
||||
.. c:function:: void nvme_set_root (nvme_root_t r)
|
||||
|
||||
Set nvme_root_t context
|
||||
|
||||
**Parameters**
|
||||
|
||||
``nvme_root_t r``
|
||||
nvme_root_t context
|
||||
|
||||
**Description**
|
||||
|
||||
In order to be able to log from code paths where no root object is passed in
|
||||
via the arguments use the the default one which can be set via this call.
|
||||
When creating a new root object with **nvme_create_root** the global root object
|
||||
will be set as well. This means the global root object is always pointing to
|
||||
the latest created root object. Note the first **nvme_free_tree** call will reset
|
||||
the global root object.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue