aboutsummaryrefslogtreecommitdiffstats
path: root/stacks/lwip_stack/src/mem_mgr/nsfw_mem_construct.c
diff options
context:
space:
mode:
Diffstat (limited to 'stacks/lwip_stack/src/mem_mgr/nsfw_mem_construct.c')
-rw-r--r--stacks/lwip_stack/src/mem_mgr/nsfw_mem_construct.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/stacks/lwip_stack/src/mem_mgr/nsfw_mem_construct.c b/stacks/lwip_stack/src/mem_mgr/nsfw_mem_construct.c
new file mode 100644
index 0000000..cc93003
--- /dev/null
+++ b/stacks/lwip_stack/src/mem_mgr/nsfw_mem_construct.c
@@ -0,0 +1,24 @@
+/*
+*
+* Copyright (c) 2018 Huawei Technologies Co.,Ltd.
+* 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.
+*/
+
+#include "nsfw_init.h"
+#include "nsfw_mem_api.h"
+#include "mgr_com.h"
+
+NSFW_MODULE_NAME (NSFW_MEM_MGR_MODULE)
+NSFW_MODULE_PRIORITY (30)
+NSFW_MODULE_DEPENDS (NSFW_MEM_STAT_MODULE)
+NSFW_MODULE_DEPENDS (NSFW_MGR_COM_MODULE) NSFW_MODULE_INIT (nsfw_mem_init)