This fixes OCResource conversion issues to/from rsrc_t
Change-Id: I04c197446df9311c2617f0035e469058ff81e81e
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1783
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
typedef struct OCResource {
/** Points to next resource in list.*/
- struct rsrc_t *next;
+ struct OCResource *next;
/** Relative path on the device; will be combined with base url to create fully qualified path.*/
char *uri;
/** Array of pointers to resources; can be used to represent a container of resources.
* (i.e. hierarchies of resources) or for reference resources (i.e. for a resource collection).*/
- struct rsrc_t *rsrcResources[MAX_CONTAINED_RESOURCES];
+ struct OCResource *rsrcResources[MAX_CONTAINED_RESOURCES];
/** Pointer to function that handles the entity bound to the resource.
* This handler has to be explicitly defined by the programmer.*/