Skip to content
Snippets Groups Projects
Commit 62ed3d3a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Simplify the getnode.cpp API - use bool returns, default paramaeter value

getnodedat() now performs a non-locked read by default.

Perform more checks of getnodedat() return value before calling putnodedat()
to avoid unintentionally zeroing out node.dab records.

Add/use unlocknodedat() method for unlocking a node.dab record without
writing.

Note: The userdat.c getnodedat() and putnodedat() still return int (i.e. 0 on
success), so that can be confusing.
parent 322cccd5
Branches
Tags
No related merge requests found
Showing with 232 additions and 215 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment