summaryrefslogtreecommitdiffstats
path: root/TODO.org
diff options
context:
space:
mode:
authorGergely Nagy <algernon@balabit.hu>2012-04-11 12:52:19 +0200
committerGergely Nagy <algernon@balabit.hu>2012-04-11 12:52:19 +0200
commit0e51e1024a85a6fb3a7b9e24de0f3817ccf58e0f (patch)
treed22ff82c0283c214f0be8aeeab4a6938da638022 /TODO.org
parent242877154f8c822498071240e21dfaf748798a81 (diff)
downloadlibumberlog-0e51e1024a85a6fb3a7b9e24de0f3817ccf58e0f.tar.gz
libumberlog-0e51e1024a85a6fb3a7b9e24de0f3817ccf58e0f.tar.xz
libumberlog-0e51e1024a85a6fb3a7b9e24de0f3817ccf58e0f.zip
TODO.org: Add a note about removing the json-c dependency.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/TODO.org b/TODO.org
index 21843c8..fb4451b 100644
--- a/TODO.org
+++ b/TODO.org
@@ -97,6 +97,15 @@ systems where we would need to copy the thing around.
We need a way to get the post-message key-value pairs some other way,
or with using va_copy() and counting format strings and whatnot.
+* TODO Remove json-c dependency
+We use very little of json-c, all we do is append key-value pairs,
+where both keys and values are always strings. We pretty much only use
+json-c to escape these for us, if so need be.
+
+Instead of pulling in a library of which we only use a tiny subset of
+the features, we should implement our own escaping (UTF-8 supporting
+and all) and remove the json-c dependency. This will slightly increase
+our code size, but drastically reduce our compiled footprint.
* TODO Examples
While the test suite will provide some easier examples, it would be
nice to have a bigger example program that show-cases all the function