I forgot to mention, a value isn&#39;t just int or char, it&#39;s a struct.<br>For now I&#39;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">&lt;<a href="mailto:osas@voipembedded.com" target="_blank">osas@voipembedded.com</a>&gt;</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&#39;s<br>
why you need to use a module.<br>
Simply bind to the module&#39;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. &lt;<a href="mailto:evilzluk@gmail.com">evilzluk@gmail.com</a>&gt; wrote:<br>
</div><div class="HOEnZb"><div class="h5">&gt; No, I mean module independent.<br>
&gt;<br>
&gt;<br>
&gt; 2012/12/14 Juha Heinanen &lt;<a href="mailto:jh@tutpro.com">jh@tutpro.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Konstantin M. writes:<br>
&gt;&gt;<br>
&gt;&gt; &gt; I have a question: is there any internal built-in database (hashtable or<br>
&gt;&gt; &gt; something like that) that I can use ?<br>
&gt;&gt; &gt; I need a functionality: key-&gt;value (get/set).<br>
&gt;&gt;<br>
&gt;&gt; check htable module.<br>
&gt;&gt;<br>
&gt;&gt; -- 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>