blob: 36f0227681a38d2c9038cefa890f09bd96d1e686 [file] [log] [blame]
Gong Ke497c4c22020-03-20 10:15:42 +08001/**
2 * \file
3 * \brief Utility functions
4 */
5
Pengfei Liub4734232020-01-17 18:25:10 +08006#ifndef _DVR_UTILS_H_
7#define _DVR_UTILS_H_
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/**\brief Write a string cmd to a file
Gong Ke497c4c22020-03-20 10:15:42 +080014 * \param[in] name File name
15 * \param[in] cmd String command
Pengfei Liub4734232020-01-17 18:25:10 +080016 * \return DVR_SUCCESS On success
17 * \return Error code On failure
18 */
19int DVR_FileEcho(const char *name, const char *cmd);
Gong Ke497c4c22020-03-20 10:15:42 +080020
Pengfei Liub4734232020-01-17 18:25:10 +080021#ifdef __cplusplus
22}
23#endif
24
25#endif /*END _DVR_UTILS_H_*/