modify service_info_s member name of external api 99/206099/1
authorwansuyoo <wansu.yoo@samsung.com>
Tue, 14 May 2019 08:08:04 +0000 (17:08 +0900)
committerwansuyoo <wansu.yoo@samsung.com>
Tue, 14 May 2019 08:08:04 +0000 (17:08 +0900)
Change-Id: I0334ed4adf5b7e8eee63a694ec56ea0561c777da
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
src/libedge-orchestration/inc/orchestration_client.h
src/libedge-orchestration/sample/main.c
src/libedge-orchestration/sample/main_chrome.c
src/libedge-orchestration/src/orchestration_client.c

index a150880..a14a9e7 100755 (executable)
@@ -40,7 +40,7 @@ typedef enum
 
 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);
index 489bccf..c26726d 100755 (executable)
@@ -25,7 +25,7 @@ void 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
index a43ce3c..e55d00f 100755 (executable)
@@ -56,8 +56,8 @@ int main() {
         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
index 024f256..03457d7 100755 (executable)
@@ -55,7 +55,7 @@ orchestration_client_state_e orchestration_request_service(char *app_name,
         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");