[sr-dev] Internal database

Carlos Ruiz Díaz carlos.ruizdiaz at gmail.com
Sat Dec 15 01:36:18 CET 2012


Why the internal hashtable structure didn't fit your needs?

You can also store structs in it.

On Fri, Dec 14, 2012 at 9:30 PM, Konstantin M. <evilzluk at gmail.com> wrote:

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


-- 
Carlos
http://caruizdiaz.com
+595981146623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20121214/6b54d5b5/attachment-0001.htm>


More information about the sr-dev mailing list