Implement GetDataBoxActivityStatus as isds_get_box_state_history()
commite5b4d04593b8f123aae3b0b9630742b64261f9d4
authorPetr Písař <petr.pisar@atlas.cz>
Thu, 31 Dec 2015 10:52:53 +0000 (31 11:52 +0100)
committerPetr Písař <petr.pisar@atlas.cz>
Thu, 31 Dec 2015 15:29:15 +0000 (31 16:29 +0100)
treed49aecfba91a3eb740d628627d7e267ea1d08733
parent26202831866276bcb5d205093173f7853ccc718d
Implement GetDataBoxActivityStatus as isds_get_box_state_history()

Although the specification states second precision and obligatory elements, we
express the times as timeval structure to keep the libisds API uniform.

Be ware the times are not pointers to timeval. Because specification
guarantees the times are always defined, we do not use pointers to timeval to
ease applications from useless checking for NULL.
TODO
src/isds.c
src/isds.h
src/unix.c
test/simline/Makefile.am
test/simline/isds_get_box_state_history.c [new file with mode: 0644]
test/simline/service.c
test/simline/services.h
test/simline/system.h
test/simline/unix.c [copied from src/unix.c with 62% similarity]
test/simline/win32.c