I forgot to mention, a value isn't just int or char, it's a struct.<br>For now I've already build it based on <a href="http://developer.gnome.org/glib/2.30/glib-Hash-Tables.html">http://developer.gnome.org/glib/2.30/glib-Hash-Tables.html</a>, works perfect.<br>
<br>Thanks to all for answers.<br>
<br><br><div class="gmail_quote">2012/12/15 Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>></span><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The idea is to keep the core as small and clean as possible, that's<br>
why you need to use a module.<br>
Simply bind to the module's API, use it and list it as as dependency.<br>
If the module is not available, then simply disable the new<br>
functionality or implement the new functionality in a new dedicated<br>
module.<br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div class="im HOEnZb"><br>
On Fri, Dec 14, 2012 at 5:04 PM, Konstantin M. <<a href="mailto:evilzluk@gmail.com">evilzluk@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> No, I mean module independent.<br>
><br>
><br>
> 2012/12/14 Juha Heinanen <<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>><br>
>><br>
>> Konstantin M. writes:<br>
>><br>
>> > I have a question: is there any internal built-in database (hashtable or<br>
>> > something like that) that I can use ?<br>
>> > I need a functionality: key->value (get/set).<br>
>><br>
>> check htable module.<br>
>><br>
>> -- juha<br>
<br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</div></div></blockquote></div><br>