- 17 Jul, 2021 1 commit
-
-
Shawn Webb authored
This commit provides a unified API for performing SQLite3 queries. Queries that return rows store their resulting data in a libucl object tree. Using libucl enables us to do some pretty powerful things, like convert a SQLite3 database to JSON as one example. We can construct complex object trees, clone objects, etc. Not all data types are supported--only the ones I myself need right this very moment. A more complete data type support will follow later as the need arises. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 15 Jul, 2021 2 commits
-
-
Shawn Webb authored
Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
The dummy log is the default and is effectively a NOP. It's set in case the user forgets to use a real logging backend (syslog is the only other supported logging backend right now). Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 13 Jul, 2021 3 commits
-
-
Shawn Webb authored
Also prepend the message with the type of message (ERROR, INFO, WARNING). Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Only syslog is supported at this time. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 27 Mar, 2021 1 commit
-
-
Shawn Webb authored
This code hasn't been tested. My next step is to write Kyua-based unit tests. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-