diff --git a/rm_services.h b/rm_services.h
index 8550ce5c975f1c36a0316050ee1084cc654e9ab8..ec9c21e79c30b13f8858540658623bd4b1086035 100644 (file)
--- a/rm_services.h
+++ b/rm_services.h
* than one means the resource is being shared. This value is only valid
* if the serviceState is RM_SERVICE_APPROVED or RM_SERVICE_APPROVED_STATIC. */
int32_t resourceNumOwners;
+/** instAllocCount is not valid unless >= 0 */
+#define RM_INST_ALLOC_COUNT_INVALID (-1)
+ /** Number of times the requesting instance has allocated the returned resource.
+ * This value is only valid if the serviceState is RM_SERVICE_APPROVED or
+ * RM_SERVICE_APPROVED_STATIC */
+ int32_t instAllocCount;
} Rm_ServiceRespInfo;
/**
* #Rm_service_RESOURCE_GET_BY_NAME. If the NameServer name and the base
* and length are not NULL the resource information retrieved from the
* NameServer entry for the name will replace the values present in
- * #resourceBase and #resourceLenth */
+ * #resourceBase and #resourceLength */
const char *resourceNsName;
/** Callback function used by RM to provide responses back to application
* components after a service request resulted in a blocking operation.