typedef struct
{
- char *exec_parameter;
+ char *exec_command;
} orchestration_service_info_s;
typedef void (*orchestration_changed_service_status_cb)(orchestration_service_status_e staus, void *user_data);
int main() {
orchestration_service_info_s service_info;
- service_info.exec_parameter = "ls -al";
+ service_info.exec_command = "ls -al";
orchestration_request_service("list_segments", service_info, status_cb, NULL);
return 0;
}
\ No newline at end of file
return 0;
}
orchestration_service_info_s service_info;
- service_info.exec_parameter = strcat(command, ipstr);
- printf("service_info.exec_parameter: %s\n", service_info.exec_parameter);
+ service_info.exec_command = strcat(command, ipstr);
+ printf("service_info.exec_command: %s\n", service_info.exec_command);
orchestration_request_service("org.tizen.chromium-efl", service_info, status_cb, NULL);
return 0;
}
\ No newline at end of file
return ORCH_CLIENT_ERROR_FAULT;
}
- result = request_service_execute(app_name, service_info.exec_parameter);
+ result = request_service_execute(app_name, service_info.exec_command);
if (result != ORCH_DBUS_ERROR_NONE)
{
printf("request_service_execute failed\n");