just commit

This commit is contained in:
wangyu- 2017-09-28 05:21:53 -05:00
parent a71576c180
commit ee4e5ad4c7
2 changed files with 51 additions and 0 deletions

10
fec_manager.cpp Normal file
View File

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

41
fec_manager.h Normal file
View File

@ -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_ */