]> git.ipfire.org Git - thirdparty/pdns.git/commit
Add infrastructure for backends to report whether file creation occurred.
authorMiod Vallat <miod.vallat@open-xchange.com>
Fri, 31 Jan 2025 08:58:03 +0000 (09:58 +0100)
committerMiod Vallat <miod.vallat@open-xchange.com>
Fri, 31 Jan 2025 12:06:35 +0000 (13:06 +0100)
commitd0e14056034a3add3fcb1b09b5cf84517c0a84a7
tree587e6138b638fdf83a5af2147505a0b5e8fe6033
parentdb18c3a1789e248c3995c79ebfc5c46739b77eb7
Add infrastructure for backends to report whether file creation occurred.

This only concerns the LMDB backend, as no other backend is able to
create local storage.

To be used shortly in a pdnsutil near you.
ext/lmdb-safe/lmdb-safe.cc
ext/lmdb-safe/lmdb-safe.hh
modules/lmdbbackend/lmdbbackend.cc
modules/lmdbbackend/lmdbbackend.hh
pdns/dnsbackend.hh
pdns/ueberbackend.cc
pdns/ueberbackend.hh