On Tuesday 09 December 2008, Alfred E. Heggestad wrote:
> [..]
> > Sounds good. One thing that perhaps could be interesting for you (with
> > the POV of further integration) is the trie library i commited some time
> > ago to the 'lib/trie' diretory in the sip-router repository. It provides
> > a generic digit matching tree in shared memory, but also supports
> > non-digit operation.
> 
> I had a quick look at lib/trie in sip-router, and it looks like it can be
> used also for the prefix_route module. when the move to sip-router is done,
> I will have a look again and see if prefix_route can be ported to use this
> new api.

Ok, good. :-) Let me know if you find any inconsistencies in the documentation 
or so.

> I also support this kind of code reuse :) I also wish that more base
> functions like sip_msg/str functions were present in the core/lib, so that
> they did not have to be re-implemented in every module.

I saw that you also include some utility functions in the recently imported 
histinfo module. Some of them can be already found in the ut.h file in 
sip-router (strdup, strcmp wrapper), lets see if we can further consolidate 
here. For the *_hf functions, i think we exported a API for the textops 
module some time ago, that his functions can be used instead of duplicating 
them.

Cheers,

Henning
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev

Reply via email to