| | |
| | | { |
| | | bool mp4downed; |
| | | bool Ack; |
| | | bool InSearchRange; |
| | | char Date[15]; |
| | | char Time[15]; |
| | | char Rule[20]; |
| | |
| | | int doesFileExist(const char *filename); |
| | | void delete_file(const char *path); |
| | | void delete_folder(const char *path); |
| | | void AnalySerFile(char* p_save_buf,int res); |
| | | void AnalySerFile(char* p_save_buf,int res, int SearchStartTm, int SearchEndTm); |
| | | int GetFileNameInFolder(char* dirname,lpfilenames lpfilename); |
| | | int net_test(char* serverIP,char* port); |
| | | void GPIOinit(void); |
| | |
| | | void AurhorizationResponseBytesReatart(char* byte_array_out,int * byte_array_length_out,char *Myuri, char *nonce,char *cnonce,char *response); |
| | | int Read_MysqlData();
|
| | | int UpdateMysqData(int key);
|
| | |
|
| | | int InsertMysqlData(char *AnalyserName,char* AnalyserIP,char* AnalyserPort,char* ServerIP,char* ServerPort,char* username,char* pass,char* resol,char* commType);
|
| | | |
| | | |
| | | |
| | |
| | | char* GetAnalyserNet(void); //5.获取当前转发器的ip 参数:无。返回:当前的ip地址子网掩码和网关 |
| | | int SetAnalyserNet(char* NetInfo); |
| | | char* GetMp4Info(char* AnalyserIP,char* user,char* pass,int Channel,char* path) ; |
| | | |
| | | char* GetAnalyserAll(); //9.查询设备 参数:无 返回:分析器的名称和ip
|
| | | int DeleteAnalyser(char* AnalyserIP); //8.删除设备 参数:设备ip 返回:成功或失败的提示。
|
| | | int InsertAnalyser(char *AnalyserName,char* AnalyserIP,char* AnalyserPort,char* ServerIP,char* ServerPort,char* user,char* pass,char* resol,char* commType);// 7.添加设备 参数:设备属性。返回:成功返回对应的视频流地址,失败返回一个提示。
|
| | | char* GetDeviceInfo(char* AnalyserIP); |
| | | int Check_MysqlData(char *AnalyserName,char* AnalyserIP,char* AnalyserPort,char* ServerIP,char* ServerPort,char* user,char* pass,char* resol,char* commType); |
| | | // |