Daniel-Constantin Mierla d2e6918acc lib/srutils: add sruid_next_safe() function 11 years ago
..
Makefile 16c9ca3e89 lib/srutils: link against -lm for math functions in json 13 years ago
README b8f7137b4f lib/srutils: added srjson - lightweight json parser 13 years ago
sha256.c ff91a65db1 pv: changes to SHA string transformations 11 years ago
sha256.h ff91a65db1 pv: changes to SHA string transformations 11 years ago
shautils.c b6bd830ea9 lib/srutils: new files with wrappers around sha256 and other hashing functions 11 years ago
shautils.h b6bd830ea9 lib/srutils: new files with wrappers around sha256 and other hashing functions 11 years ago
srjson.c f7b72bf068 libsrjson: new helper functions to deal with str and unlink node 13 years ago
srjson.h f7b72bf068 libsrjson: new helper functions to deal with str and unlink node 13 years ago
sruid.c d2e6918acc lib/srutils: add sruid_next_safe() function 11 years ago
sruid.h d2e6918acc lib/srutils: add sruid_next_safe() function 11 years ago
tmrec.c 9e1ff4488a all: updated FSF address in GPL text 11 years ago
tmrec.h 9e1ff4488a all: updated FSF address in GPL text 11 years ago

README

Library collecting various utility components needed by several modules
#######################################################################

The licesing matches the rules for core - owned by FhG or more liberal
like BSD or MIT style.

1. TMREC
========

Time recurrence matching, with recurrences defined based on specifications
by Internet Calendaring and Scheduling Core Object Specification (Calendar
COS - RFC 2445)

2. SRJSON
=========

Adapted verision of cJSON - a C JSON parsing library - that integrates better
with Kamailio/SER environment.

The changes so far:
- rename cJSON to srjson to avoid name space conflicts
- ability to specify malloc/free functions per JSON document. In
Kamailio/SER, based on needs, it can be PKG or SHM type of used memory.
- ability to add a string value by pointer and length - the very common
str structure

Next targets:
- option to clone or not the full JSON document buffer and parse using
the clone (tied to and becomes usefule with the next item in this list)
- don't clone the string values when parsing a JSON document, but set
references to names and string values
- add functions to make easy to add binary data in string values, stored
in base32 or base64 format