#include <pthread.h>
#include <sys/queue.h>
-#include "tfm.h"
#include "interface.h"
struct tfm_interface_context {
#include <unistd.h>
#include <sys/wait.h>
-#include "tfm.h"
+#include "thor.h"
#include "dfu.h"
#include "interface.h"
* limitations under the License.
*/
+#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/wait.h>
#include <arpa/inet.h>
-#include "tfm.h"
#include "interface.h"
#define DEFAULT_PORT 23456
+++ /dev/null
-/*
- * flash-manager - Tizen kernel-level image flashing solution
- *
- * Licensed under the Apache License, Version 2.0 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * 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 __TFM_H
-#define __TFM_H
-#include <string.h>
-#include <pthread.h>
-#include <sys/queue.h>
-
-#include "dfu.h"
-#include "interface.h"
-
-int thor_setup(struct tfm_interface *intf);
-int thor_process(struct tfm_interface *intf, struct dfu_context *dfu);
-#endif
#include <stdlib.h>
#include <sys/reboot.h>
-#include "tfm.h"
#include "dfu.h"
#include "interface.h"
#include "thor-proto.h"
--- /dev/null
+/*
+ * flash-manager - Tizen kernel-level image flashing solution
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 __THOR_H
+#define __THOR_H
+
+#include "dfu.h"
+#include "interface.h"
+
+int thor_setup(struct tfm_interface *intf);
+int thor_process(struct tfm_interface *intf, struct dfu_context *dfu);
+#endif