Module: sip-router
Branch: master
Commit: d32fa103f1ddad5f44d986dd0b148d110ed3033c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d32fa10…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Thu Sep 10 18:35:05 2009 +0200
pdb: add daemon 'pdb_server' and optimising data compiler 'pdbt'
- add number portability database daemon and optimizing data compiler
- add debian packaging scripts for tool and daemon as well
- TODO:
- add documentation (run binaries with '-h' for now to get help)
- fix this redundant declaration of trie (dt* files) and logging (log*).
There exists already an implementation that uses the sr core parts for
this, but we import the proven implementation for now.
- add data helper scripts as well, they need some cleanup first
- initial implementation was done from Hardy Kahl @ 1&1 Internet Ag
- further bug fixes from Timo Reimann, timo dot reimann at 1und1 dot de
---
utils/pdbt/Makefile | 27 ++
utils/pdbt/carrier.c | 118 +++++
utils/pdbt/carrier.h | 54 +++
utils/pdbt/common.h | 56 +++
utils/pdbt/debian/changelog | 5 +
utils/pdbt/debian/compat | 1 +
utils/pdbt/debian/control | 19 +
utils/pdbt/debian/copyright | 18 +
utils/pdbt/debian/pdb-server.dirs | 1 +
utils/pdbt/debian/pdb-server.install | 3 +
utils/pdbt/debian/pdb-server.postinst | 24 +
utils/pdbt/debian/pdb-tools.install | 3 +
utils/pdbt/debian/rules | 98 ++++
utils/pdbt/dt.c | 360 ++++++++++++++
utils/pdbt/dt.h | 115 +++++
utils/pdbt/dtm.c | 97 ++++
utils/pdbt/dtm.h | 61 +++
utils/pdbt/log.c | 76 +++
utils/pdbt/log.h | 49 ++
utils/pdbt/pdb_server.c | 232 +++++++++
utils/pdbt/pdb_server.conf | 7 +
utils/pdbt/pdb_server_backend.c | 58 +++
utils/pdbt/pdb_server_backend.h | 47 ++
utils/pdbt/pdbt.c | 823 +++++++++++++++++++++++++++++++++
24 files changed, 2352 insertions(+), 0 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=d32…