Module: sip-router
Branch: kamailio_3.0
Commit: 0cb4c9f4bb5399fe9b9c946a3f69c1c595ad832b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0cb4c9f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Oct 30 12:56:25 2009 +0100
core: introducing xavp (eXtended AVP)
- import from branch daniel/xavp
- design:
- one master list stored in core
- internal integer id to optimise the search in list (hash value over the string name)
- name stored as str and null terminated (can use regexp over it)
- string values stored as str and null terminated
- other types of value that can be used internally (not in config)
- long
- long long
- time
- xavp (or list of xavp)
- generic data structure
- for more see:
http://sip-router.org/wiki/devel/xavp
- NOTE: this is not a replacement for existing AVPs, but an add-on, a new pseudo-variable
class
---
xavp.c | 508 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
xavp.h | 95 ++++++++++++
2 files changed, 603 insertions(+), 0 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=0cb…