Hi,
On 04/04/2011 03:25 PM, Daniel-Constantin Mierla wrote:
> thanks, that is very useful! I was playing with the idea of developing
> it for using in small deployments and embedded devices, but couldn't
> find any time for it ...
Yes. Same idea here. It's still missing the sql table creation scr
On Monday 04 April 2011, Timo Teräs wrote:
> Implements the kamailio database API for SQLite.
> +static str* str_dup(const char *_s)
> +{
> + str *s;
> + int len = strlen(_s);
> +
> + s = (str*) pkg_malloc(sizeof(str)+len+1);
> + s->len = len;
> + s->s = ((char*)s) + sizeof(st
Hi Timo,
thanks, that is very useful! I was playing with the idea of developing
it for using in small deployments and embedded devices, but couldn't
find any time for it ...
To get the code in the repository, there are some things that need to be
sorted out:
- code reviewing - from my point
Implements the kamailio database API for SQLite.
Signed-off-by: Timo Teräs
---
modules_k/db_sqlite/Makefile| 15 ++
modules_k/db_sqlite/db_sqlite.c | 90 +++
modules_k/db_sqlite/dbase.c | 515 +++
modules_k/db_sqlite/dbase.h | 72 +