summaryrefslogtreecommitdiff
path: root/platform/include/system.h
diff options
context:
space:
mode:
author卢文朋 <[email protected]>2021-09-13 02:12:29 +0000
committerluwenpeng <[email protected]>2021-09-15 16:58:01 +0800
commitba21a53bb7c8bc5e70eae278b2fd238c2bcd1337 (patch)
treef15571a0b8c096532be99e8a6858370c047a4b86 /platform/include/system.h
parentaa887fd382a4eb1b981280183a780649230d71e9 (diff)
TSG-7784 PacketAdapter支持CI自动构建RPM; 修改代码结构
Diffstat (limited to 'platform/include/system.h')
-rw-r--r--platform/include/system.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/platform/include/system.h b/platform/include/system.h
new file mode 100644
index 0000000..bf20541
--- /dev/null
+++ b/platform/include/system.h
@@ -0,0 +1,17 @@
+#ifndef _SYSTEM_H
+#define _SYSTEM_H
+
+#ifdef __cpluscplus
+extern "C"
+{
+#endif
+
+#include "public.h"
+
+ int run_daemon(void);
+
+#ifdef __cpluscplus
+}
+#endif
+
+#endif \ No newline at end of file