Code

unixsock, data: Moved sdb_unixsock_parse_cell() to sdb_data_parse().
authorSebastian Harl <sh@tokkee.org>
Fri, 4 Jul 2014 20:48:44 +0000 (22:48 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 4 Jul 2014 20:48:44 +0000 (22:48 +0200)
commit6ceaca1424cee5339613b2622ee8e160168fda1b
tree003c1e9d48ef44c51b158f0c4f2130827402b8a2
parentffaf79ce48d2173371f7cbf07842b2bbbc6a993c
unixsock, data: Moved sdb_unixsock_parse_cell() to sdb_data_parse().

The function parses a string into a datum. For date-time values, floating
point seconds since the epoch are supported only.

Added unit tests.
src/core/data.c
src/include/core/data.h
src/utils/unixsock.c
t/unit/core/data_test.c