[Feature][T108][system][task-view-1692]Merged gsw hal code

Only Configure: No
Affected branch: GSW_V1453
Affected module: libgsw
Is it affected on IC: only ASR
Self-test: yes
Doc Update: no

Change-Id: I7fb669b6afc6e2f92a1e86ec8543498eb73120b4
diff --git a/mbtk/include/gsw/gsw_sys_interface.h b/mbtk/include/gsw/gsw_sys_interface.h
index a7f22cf..e986ebc 100755
--- a/mbtk/include/gsw/gsw_sys_interface.h
+++ b/mbtk/include/gsw/gsw_sys_interface.h
@@ -1,53 +1,53 @@
 /**

 *  @file  : gsw_sys_interface.h

-*  @date : 2025-6-11

-*  @copyright Copyright(C) 2022,Gosuncnwelink

+*  @brief : system service ctrl

+*  @date : 2022-07-05

+*  @author : Wind

+*  @version : v1.0

+*  @copyright Copyright(C) 2022,Geely

 */

-#ifndef __GSW_SYS_INTERFACE__H__

-#define __GSW_SYS_INTERFACE__H__

+#ifndef __GSW_SYS_INTERFACE_H__

+#define __GSW_SYS_INTERFACE_H__

 

-/*********************************************************************************************/

-#include <stdio.h>

-#include <stdlib.h>

-#include <string.h>

-#include <unistd.h>

-#include <pthread.h>

-#include <stddef.h>

+#include <stdint.h>

 #include "gsw_hal_errcode.h"

 

-

 /**

-* @brief start or restart ftp server

-* @param  [in] cfg the ftp server config file

-* @retval GSW_HAL_SUCCESS is success\other is fail

-*/

+ * @brief start or restart ftp server

+ * @param  [in] cfg the ftp server config file

+ * @retval 0: success

+ * @retval other: fail

+ */

 int gsw_sys_svr_ftp_start(const char *cfg);

 

 /**

-* @brief stop ftp server

-* @retval GSW_HAL_SUCCESS is success\other is fail

-*/

+ * @brief stop ftp server

+ * @retval 0: success

+ * @retval other: fail

+ */

 int gsw_sys_svr_ftp_stop(void);

 

 /**

-* @brief start or restart sshserver

-* @param  [in] cfg the sshserver config file

-* @retval GSW_HAL_SUCCESS is success\other is fail

-*/

+ * @brief start or restart ssh server

+ * @param  [in] cfg the ssh server config file

+ * @retval 0: success

+ * @retval other: fail

+ */

 int gsw_sys_svr_ssh_start(const char *cfg);

 

 /**

-* @brief stop sshserver

-* @retval GSW_HAL_SUCCESS is success\other is fail

-*/

+ * @brief stop ssh server

+ * @retval 0: success

+ * @retval other: fail

+ */

 int gsw_sys_svr_ssh_stop(void);

 

 /**

-* @brief restart syslog server

-* @param  [in] log_lvl, range [emerg alert crit err warning notice info debug]

-* @retval GSW_HAL_SUCCESS is success\other is fail

-*/

+ * @brief restart syslog server

+ * @param  [in] log_lvl, range [emerg alert crit err warning notice info debug]

+ * @retval 0: success

+ * @retval other: fail

+ */

 int gsw_sys_svr_syslog_restart(const char *log_lvl);

 

-

-#endif //__GSW_SYS_INTERFACE__H_

+#endif // __GSW_SYS_INTERFACE_H__