ldb: Add ldb_val -> bool,uint64,int64 parsing functions
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 15 Mar 2023 22:42:04 +0000 (11:42 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 31 Mar 2023 08:29:32 +0000 (08:29 +0000)
commitf41f988038920bc19e8d9f2502ff0d3f2aaa2196
tree0d8382f50b5db0064b0705fdb284c419e2bc6dbb
parent570a3ac866dfcd3584742c3af553af76aac91c6c
ldb: Add ldb_val -> bool,uint64,int64 parsing functions

These functions allow us to parse any value of a message element, not
only the first. They also unambiguously indicate whether an error has
occurred.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ABI/ldb-2.8.0.sigs
lib/ldb/common/ldb_msg.c
lib/ldb/include/ldb_module.h