Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDKBDEV-3075 remove dependency on dbus #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions source/RdkXdslManager/ssp_messagebus_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,35 +59,6 @@ extern char g_Subsystem[32];
extern ANSC_HANDLE g_MessageBusHandle_Irep;
extern char g_SubSysPrefix_Irep[32];

DBusHandlerResult
CcspComp_path_message_func
(
DBusConnection *conn,
DBusMessage *message,
void *user_data
)
{
CCSP_MESSAGE_BUS_INFO *bus_info =(CCSP_MESSAGE_BUS_INFO *) user_data;
const char *interface = dbus_message_get_interface(message);
const char *method = dbus_message_get_member(message);
DBusMessage *reply;

reply = dbus_message_new_method_return (message);
if (reply == NULL)
{
return DBUS_HANDLER_RESULT_HANDLED;
}

return CcspBaseIf_base_path_message_func
(
conn,
message,
reply,
interface,
method,
bus_info
);
}

ANSC_STATUS
ssp_Mbi_MessageBusEngage
Expand Down Expand Up @@ -148,23 +119,6 @@ ssp_Mbi_MessageBusEngage

CcspBaseIf_SetCallback(bus_handle, &cb);

/* Register service callback functions */
returnStatus =
CCSP_Message_Bus_Register_Path
(
bus_handle,
path,
CcspComp_path_message_func,
bus_handle
);

if ( returnStatus != CCSP_Message_Bus_OK )
{
CcspTraceError((" !!! CCSP_Message_Bus_Register_Path ERROR returnStatus: %d\n!!!\n", returnStatus));

return returnStatus;
}


/* Register event/signal */
returnStatus =
Expand Down