Skip to content

Commit

Permalink
RDKB-52286:Rename rbuscore public APIs as "rbuscore_" prefix
Browse files Browse the repository at this point in the history
Signed-off-by: Netaji Panigrahi [email protected]
  • Loading branch information
NetajiPanigrahi committed Jan 25, 2024
1 parent 9ea1da7 commit ab61613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/core/rbuscore.c
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,6 @@ static rbusCoreError_t remove_subscription_callback(const char * object_name, c
return ret;
}

static rbusCoreError_t rbuscore_subscribeToEventInternal(const char * object_name, const char * event_name, rbus_event_callback_t callback, const rbusMessage payload, void * user_data, int* providerError, int timeout, bool publishOnSubscribe, rbusMessage *response)
static rbusCoreError_t rbuscore_subscribeToEventInternal(const char * object_name, const char * event_name, rbus_event_callback_t callback, const rbusMessage payload, void * user_data, int* providerError, int timeout, bool publishOnSubscribe, rbusMessage *response, bool rawData)
{
/*using namespace rbus_client;*/
Expand Down Expand Up @@ -1651,7 +1650,7 @@ rbusCoreError_t rbuscore_subscribeToEvent(const char * object_name, const char
return rbuscore_subscribeToEventInternal(object_name, event_name, callback, payload, user_data, providerError, 0, false, NULL, false);
}

rbusCoreError_t rbus_subscribeToEventTimeout(const char * object_name, const char * event_name, rbus_event_callback_t callback, const rbusMessage payload, void * user_data, int* providerError, int timeout, bool publishOnSubscribe, rbusMessage *response, bool rawData)
rbusCoreError_t rbuscore_subscribeToEventTimeout(const char * object_name, const char * event_name, rbus_event_callback_t callback, const rbusMessage payload, void * user_data, int* providerError, int timeout, bool publishOnSubscribe, rbusMessage *response, bool rawData)
{
return rbuscore_subscribeToEventInternal(object_name, event_name, callback, payload, user_data, providerError, timeout, publishOnSubscribe, response, rawData);
}
Expand Down
2 changes: 1 addition & 1 deletion src/rbus/rbus_asyncsubscribe.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static void rbusAsyncSubscribeRetrier_SendSubscriptionRequests()


RBUSLOG_INFO("%s subscribing", item->subscription->eventName);
coreerr = rbuscore_subscribeToEvent(NULL, item->subscription->eventName,
coreerr = rbuscore_subscribeToEventTimeout(NULL, item->subscription->eventName,
_event_callback_handler, item->payload, item->subscription, &providerError, 0, false, &response, false);

rtTime_Now(&now);
Expand Down

0 comments on commit ab61613

Please sign in to comment.