<div>Why the internal hashtable structure didn&#39;t fit your needs?</div><div><br></div>You can also store structs in it.<br><br><div class="gmail_quote">On Fri, Dec 14, 2012 at 9:30 PM, Konstantin M. <span dir="ltr">&lt;<a href="mailto:evilzluk@gmail.com" target="_blank">evilzluk@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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" target="_blank">http://developer.gnome.org/glib/2.30/glib-Hash-Tables.html</a>, works perfect.<br>


<br>Thanks to all for answers.<div class="HOEnZb"><div class="h5"><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><br>
On Fri, Dec 14, 2012 at 5:04 PM, Konstantin M. &lt;<a href="mailto:evilzluk@gmail.com" target="_blank">evilzluk@gmail.com</a>&gt; wrote:<br>
</div><div><div>&gt; No, I mean module independent.<br>
&gt;<br>
&gt;<br>
&gt; 2012/12/14 Juha Heinanen &lt;<a href="mailto:jh@tutpro.com" target="_blank">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" target="_blank">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>
</div></div><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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Carlos<div><a href="http://caruizdiaz.com" target="_blank">http://caruizdiaz.com</a></div><div>+595981146623</div><br>