resource-manager: Add new getter with user data
Until now, getter function has only passed the data to get the data
without any other arguments. But, it has the constraint which is not
able to pass the user data and then get the data.
So thet add new following getter funciton with passed user data:
- int syscommon_resman_get_resource_attr_uint64_with_1_user_data(
int resource_id, u_int64_t attr_id,
u_int64_t *user_data1,
u_int64_t *data);
: This function is able to pass the one user data in order to get data
from resource attirbute.
: SYSCOMMON_RESMAN_DATA_TYPE_UINT64_WITH_1_USER_DATA data type
should be used for this new getter function.
- int syscommon_resman_get_resource_attr_uint64_with_2_user_data(
int resource_id, u_int64_t attr_id,
u_int64_t *user_data1, u_int64_t *user_data2,
u_int64_t *data);
: This function is able to pass the two user data in order to get data
from resource attirbute.
: SYSCOMMON_RESMAN_DATA_TYPE_UINT64_WITH_2_USER_DATA data type
should be used for this new getter function.
Change-Id: Ic406fe4bad5e952472769f4ec634544a4d45d0a8
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>