move command handling functions to cmd func module
[apps/native/tizen-things-daemon.git] / daemon / include / ttd-cmd-type.h
index 39c0c4e..ce7c61b 100644 (file)
@@ -86,9 +86,9 @@ typedef enum {
        TTD_CMD_RESULT_FAIL,
 } ttd_cmd_result_e;
 
-typedef void (*cmd_data_free_func)(void *data);
-typedef int (*ttd_cmd_launch_func)(void *cmd_data);
-
 typedef struct _ttd_cmd_data_s ttd_cmd_data;
 
+typedef void (*cmd_data_free_func)(void *data);
+typedef int (*ttd_cmd_launch_func)(ttd_cmd_data *cmd_data);
+
 #endif /* __TTD_CMD_TYPE_H__ */