瀏覽代碼

just commit

wangyu- 8 年之前
父節點
當前提交
ee4e5ad4c7
共有 2 個文件被更改,包括 51 次插入0 次删除
  1. 10 0
      fec_manager.cpp
  2. 41 0
      fec_manager.h

+ 10 - 0
fec_manager.cpp

@@ -0,0 +1,10 @@
+/*
+ * fec_manager.cpp
+ *
+ *  Created on: Sep 27, 2017
+ *      Author: root
+ */
+
+
+
+

+ 41 - 0
fec_manager.h

@@ -0,0 +1,41 @@
+/*
+ * fec_manager.h
+ *
+ *  Created on: Sep 27, 2017
+ *      Author: root
+ */
+
+#ifndef FEC_MANAGER_H_
+#define FEC_MANAGER_H_
+
+
+
+struct fec_encode_manager_t
+{
+	int input(char *,int l);
+	int ready_for_output();
+	int output(char ** &,int l,int &n);
+};
+
+struct fec_decode_manager_t
+{
+	int input(char *,int l);
+	int ready_for_output();
+	int output(char ** &,int l,int &n);
+};
+
+
+struct blob_encode_t
+{
+	int input(char *,int l);
+	int ready_for_output();
+	int output(char ** &,int l,int &n);
+};
+
+struct blob_decode_t
+{
+	int input(char *,int l);
+	int ready_for_output();
+	int output(char ** &,int l,int &n);
+};
+#endif /* FEC_MANAGER_H_ */