summaryrefslogtreecommitdiff
path: root/platform/src/main.cpp
diff options
context:
space:
mode:
authorLu <[email protected]>2018-08-21 16:11:50 +0800
committerLu <[email protected]>2018-08-21 16:11:50 +0800
commit768235920afba76f01dea6a2194d67a35b51143c (patch)
tree38f869c372d24f9a44efe9935781607b191c07a8 /platform/src/main.cpp
parentdb055eeac8ed3671af4649a3afd4e825f44a49df (diff)
整理目录结构,调整框架部分实现,初步编译通过。
Diffstat (limited to 'platform/src/main.cpp')
-rw-r--r--platform/src/main.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/src/main.cpp b/platform/src/main.cpp
new file mode 100644
index 0000000..f92e192
--- /dev/null
+++ b/platform/src/main.cpp
@@ -0,0 +1,24 @@
+/*-
+* Tango Frontend Engine (TFE) 3a
+* Part of Tango Security Gateway
+*
+* Copyright (c) 2018-2023, MESA Lab, https://www.mesalab.cn
+* All rights reserved.
+*/
+
+#include <string.h>
+#include <stdlib.h>
+
+#include <tfe_utils.h>
+#include <MESA/MESA_handle_logger.h>
+#include <MESA/MESA_prof_load.h>
+#include <MESA/wired_cfg.h>
+
+extern struct tfe_instance __g_tfe_instance;
+extern struct tfe_config __g_tfe_config;
+
+struct tfe_instance* g_tfe_instance = &__g_tfe_instance;
+struct tfe_config * g_tfe_cfg = &__g_tfe_config;
+
+const char* module_name="TFE";
+