1
0
Fork 0

Merging upstream version 1.9.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:50:33 +01:00
parent 432344d511
commit ff5afdb431
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
928 changed files with 6732 additions and 1442 deletions

View file

@ -28,6 +28,32 @@ logging functions
Sets the default logging variables for the library.
.. c:function:: int nvme_get_logging_level (nvme_root_t r, bool *log_pid, bool *log_tstamp)
Get current logging level
**Parameters**
``nvme_root_t r``
nvme_root_t context
``bool *log_pid``
Pointer to store a current value of logging of
the PID flag at (optional).
``bool *log_tstamp``
Pointer to store a current value of logging of
the timestamp flag at (optional).
**Description**
Retrieves current values of logging variables.
**Return**
current log level value or DEFAULT_LOGLEVEL if not initialized.
.. c:function:: void nvme_set_root (nvme_root_t r)
Set nvme_root_t context
@ -47,3 +73,36 @@ the latest created root object. Note the first **nvme_free_tree** call will rese
the global root object.
.. c:function:: void nvme_set_debug (bool debug)
Set NVMe command debugging output
**Parameters**
``bool debug``
true to enable or false to disable
**Description**
Don't use it, it's debricated.
.. c:function:: bool nvme_get_debug (void)
Get NVMe command debugging output
**Parameters**
``void``
no arguments
**Description**
Don't use it, it's debricated.
**Return**
false if disabled or true if enabled.