Jon Auer f5b42be4a3 fix compile errors in srutils/sha256 on SunOS (SmartOS) 10 年之前
..
Makefile 16c9ca3e89 lib/srutils: link against -lm for math functions in json 13 年之前
README b8f7137b4f lib/srutils: added srjson - lightweight json parser 13 年之前
sha256.c f5b42be4a3 fix compile errors in srutils/sha256 on SunOS (SmartOS) 10 年之前
sha256.h f5b42be4a3 fix compile errors in srutils/sha256 on SunOS (SmartOS) 10 年之前
shautils.c b6bd830ea9 lib/srutils: new files with wrappers around sha256 and other hashing functions 11 年之前
shautils.h b6bd830ea9 lib/srutils: new files with wrappers around sha256 and other hashing functions 11 年之前
srjson.c f7b72bf068 libsrjson: new helper functions to deal with str and unlink node 13 年之前
srjson.h f7b72bf068 libsrjson: new helper functions to deal with str and unlink node 13 年之前
sruid.c d2e6918acc lib/srutils: add sruid_next_safe() function 11 年之前
sruid.h d2e6918acc lib/srutils: add sruid_next_safe() function 11 年之前
tmrec.c 9e1ff4488a all: updated FSF address in GPL text 11 年之前
tmrec.h 9e1ff4488a all: updated FSF address in GPL text 11 年之前

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