Module: sip-router Branch: master Commit: c9ba911f13739d6c004ff3f5079c21a3118186c6 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c9ba911f...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Tue Jan 19 19:24:07 2010 +0100
mtree: in memory tree containers
- new module that loads db tables in tree structures in shared memory - tree are construct based on allowed character list (default: 0123456789) - it returns associated value as string, and has support to get it in precompiled form, returning in AVPs (for now pairs of dstid:weight) - there can be many trees defined, with mi commands to reload and print content
---
modules/mtree/Makefile | 16 + modules/mtree/README | 240 ++++++++++++ modules/mtree/doc/Makefile | 4 + modules/mtree/doc/mtree.xml | 36 ++ modules/mtree/doc/mtree_admin.xml | 274 ++++++++++++++ modules/mtree/mtree.c | 682 +++++++++++++++++++++++++++++++++++ modules/mtree/mtree.h | 87 +++++ modules/mtree/mtree_mod.c | 722 +++++++++++++++++++++++++++++++++++++ 8 files changed, 2061 insertions(+), 0 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=c9ba...