JZsdk_FileSystm.h 1.3 KB
/**
 ********************************************************************
 * @file   JZsdk_FileSystem.h
 *          用于文件系统操作
 *
 *********************************************************************
 */

/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZSDK_FILESYSTEM_H
#define JZSDK_FILESYSTEM_H

/* Includes ------------------------------------------------------------------*/
#include "../JZsdk_Code/JZsdk_Code.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
#define JZSDK_FILENAME_SIZE 128

/* Exported types ------------------------------------------------------------*/


/* Exported functions --------------------------------------------------------*/
int JZsdk_RunSystemCmd(char *systemCmd);
//FILE* JZsdk_RunSystemCmd_ReturnFilePointer(char *systemCmd);
T_JZsdkReturnCode GetSerialNumber(char *SerialNumber);
T_JZsdkReturnCode JZsdk_check_file_exists(const char* file_path) ;
T_JZsdkReturnCode JZsdk_create_file(const char* file_path) ;
T_JZsdkReturnCode JZsdk_delete_file(const char* file_path) ;

#ifdef __cplusplus
}
#endif

#endif 
/************************ (C) COPYRIGHT DJI Innovations *******END OF FILE******/