summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-01-11 22:31:42 +0000
committerDavid M. Lee <dlee@digium.com>2013-01-11 22:31:42 +0000
commit7695ea2643456ab0c837f958cc484d26529e1098 (patch)
tree7abdff9c18abeac805e93f788d6e51b835796df7 /build_tools
parent2db3cc2e26bc275c0a3e372a53fe25f2a7b4cc7a (diff)
Add JSON API for Asterisk.
This provides a JSON API by pulling in and wrapping the Jansson JSON library[1]. The Asterisk API basically mirrors the Jansson functionality, with a few minor tweaks. * Some names have been asteriskified to protect the innocent. * Jansson provides both reference-stealing and reference-borrowing versions of several API's. The Asterisk API is exclusively reference-stealing for operations that put elements into arrays and objects. * No support for doubles, since we usually don't need that. * Coming along for the ride is the ast_test_validate macro, which made the unit tests much easier to write. [1]: http://www.digip.org/jansson/ (issue ASTERISK-20887) (closes issue ASTERISK-20888) Review: https://reviewboard.asterisk.org/r/2264/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools')
-rw-r--r--build_tools/menuselect-deps.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_tools/menuselect-deps.in b/build_tools/menuselect-deps.in
index 6f4418b26..b3bcf957d 100644
--- a/build_tools/menuselect-deps.in
+++ b/build_tools/menuselect-deps.in
@@ -25,6 +25,7 @@ IODBC=@PBX_IODBC@
ISDNNET=@PBX_ISDNNET@
IXJUSER=@PBX_IXJUSER@
JACK=@PBX_JACK@
+JANSSON=@PBX_JANSSON@
KQUEUE=@PBX_KQUEUE@
LDAP=@PBX_LDAP@
LIBEDIT=@PBX_LIBEDIT@