introduce a refcounter for data 49/26849/2
authorJozef Kralik <jozef.kralik@kistler.com>
Thu, 30 Aug 2018 07:23:57 +0000 (09:23 +0200)
committerJozef Kralik <jozef.kralik@kistler.com>
Thu, 6 Sep 2018 10:29:29 +0000 (12:29 +0200)
commit39d0ecf57e4f90755c3a9f2eee0b0585a4a76f1e
treefdcd08942f8cfd0c80a32c648def1554d2cd5bf1
parent9c7b2c12deb8834cb6dce9d6fa3f72c3f5e835c8
introduce a refcounter for data

- provides interface and implementation of reference counter
- for example of using look to:
  resource/c_common/oc_refcounter/test/linux/oc_refcounter_tests.cpp

Bug: https://jira.iotivity.org/browse/IOT-3075
Bug: https://jira.iotivity.org/browse/IOT-3059
Change-Id: Ib4f04677cdc6951a0a9505efbd6ab47a7a79288b
Signed-off-by: Jozef Kralik <jozef.kralik@kistler.com>
resource/c_common/SConscript
resource/c_common/oc_refcounter/include/oc_refcounter.h [new file with mode: 0644]
resource/c_common/oc_refcounter/src/oc_refcounter.c [new file with mode: 0644]
resource/c_common/oc_refcounter/test/SConscript [new file with mode: 0644]
resource/c_common/oc_refcounter/test/linux/oc_refcounter_tests.cpp [new file with mode: 0644]
resource/c_common/unittests/SConscript
resource/docs/c-doc/devdocs.doxyfile