adds worker handle module 15/176415/1
authorJeonghoon Park <jh1979.park@samsung.com>
Thu, 19 Apr 2018 06:30:51 +0000 (15:30 +0900)
committerJeonghoon Park <jh1979.park@samsung.com>
Thu, 19 Apr 2018 06:30:51 +0000 (15:30 +0900)
Change-Id: I8af0d1afab628baed8014684c428a1b074a41ed9

daemon/include/ttd-worker-handle.h [new file with mode: 0644]
daemon/src/ttd-worker-handle.c [new file with mode: 0644]

diff --git a/daemon/include/ttd-worker-handle.h b/daemon/include/ttd-worker-handle.h
new file mode 100644 (file)
index 0000000..63de3f1
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __TT_DAEMON_WORKER_HANDLE_H__
+#define __TT_DAEMON_WORKER_HANDLE_H__
+
+int ttd_worker_launch(int worker_type, const char *cmd);
+
+#endif /* __TT_DAEMON_WORKER_HANDLE_H__ */
diff --git a/daemon/src/ttd-worker-handle.c b/daemon/src/ttd-worker-handle.c
new file mode 100644 (file)
index 0000000..3160e18
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+int ttd_worker_launch(int worker_type, const char *cmd)
+{
+       return 0;
+}
\ No newline at end of file