Fix a limitation of the maximum number of child resources of a collection
authorJihun Ha <jihun.ha@samsung.com>
Mon, 22 Feb 2016 02:01:45 +0000 (11:01 +0900)
committerJon A. Cruz <jonc@osg.samsung.com>
Wed, 24 Feb 2016 00:11:45 +0000 (00:11 +0000)
commit0ad09735b2fe027d9a8e1ce980c5ffc3a093204c
tree9679cd936220c75fdd283992659b6273832acc00
parent045bd3a8b32a992712d9936cdbae59100962a227
Fix a limitation of the maximum number of child resources of a collection

We found that there is the maximum number of child resource able to be
registered to a collection resource which is 5. This commit is to eliminate
the limitation by using link-list rather than static array allocation
(refer to ocresource.h in csdk folder).

Change-Id: I23e9d200ae39b33497d8fd9863adb9dbadfb3c70
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5037
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: John Light <john.j.light@intel.com>
Reviewed-by: Junghyun Oh <junghyun.oh@samsung.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/csdk/stack/include/internal/ocresource.h [changed mode: 0644->0755]
resource/csdk/stack/src/occollection.c [changed mode: 0644->0755]
resource/csdk/stack/src/ocresource.c [changed mode: 0644->0755]
resource/csdk/stack/src/ocstack.c [changed mode: 0644->0755]
resource/csdk/stack/test/stacktests.cpp [changed mode: 0644->0755]