Pengfei Liu | b473423 | 2020-01-17 18:25:10 +0800 | [diff] [blame^] | 1 | #ifndef _DVR_UTILS_H_ |
2 | #define _DVR_UTILS_H_ | ||||
3 | |||||
4 | #ifdef __cplusplus | ||||
5 | extern "C" { | ||||
6 | #endif | ||||
7 | |||||
8 | /**\brief Write a string cmd to a file | ||||
9 | * \param[in] name, File name | ||||
10 | * \param[in] cmd, String command | ||||
11 | * \return DVR_SUCCESS On success | ||||
12 | * \return Error code On failure | ||||
13 | */ | ||||
14 | int DVR_FileEcho(const char *name, const char *cmd); | ||||
15 | #ifdef __cplusplus | ||||
16 | } | ||||
17 | #endif | ||||
18 | |||||
19 | #endif /*END _DVR_UTILS_H_*/ |