From ee4e5ad4c7b6a567d1fb3746d8310df313ae4026 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Thu, 28 Sep 2017 05:21:53 -0500 Subject: [PATCH] just commit --- fec_manager.cpp | 10 ++++++++++ fec_manager.h | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 fec_manager.cpp create mode 100644 fec_manager.h diff --git a/fec_manager.cpp b/fec_manager.cpp new file mode 100644 index 0000000..a8947a6 --- /dev/null +++ b/fec_manager.cpp @@ -0,0 +1,10 @@ +/* + * fec_manager.cpp + * + * Created on: Sep 27, 2017 + * Author: root + */ + + + + diff --git a/fec_manager.h b/fec_manager.h new file mode 100644 index 0000000..ecf9e6f --- /dev/null +++ b/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_ */