dvr: implement record [1/1]
PD#SWPL-18817
Problem:
New feature
Solution:
implement record
Verify:
Android Q + AC214
Change-Id: I08df9e9d62f4467ba8dc2cb61cceb09aeda7b6e9
Signed-off-by: Pengfei Liu <pengfei.liu@amlogic.com>
diff --git a/include/dvr_utils.h b/include/dvr_utils.h
new file mode 100644
index 0000000..4ac86ba
--- /dev/null
+++ b/include/dvr_utils.h
@@ -0,0 +1,19 @@
+#ifndef _DVR_UTILS_H_
+#define _DVR_UTILS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**\brief Write a string cmd to a file
+ * \param[in] name, File name
+ * \param[in] cmd, String command
+ * \return DVR_SUCCESS On success
+ * \return Error code On failure
+ */
+int DVR_FileEcho(const char *name, const char *cmd);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*END _DVR_UTILS_H_*/