diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-30 11:31:56 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-30 11:31:56 +0100 |
commit | f21352094c0949b643721ee5387fefae0cdab507 (patch) | |
tree | bae2813b66308d1478f1537fbd5acb9ec1af34b5 /src/utils.h | |
parent | b073c0eb1e5bf676a24f225779cc31d3c9f21fd4 (diff) | |
download | dabmux-f21352094c0949b643721ee5387fefae0cdab507.tar.gz dabmux-f21352094c0949b643721ee5387fefae0cdab507.tar.bz2 dabmux-f21352094c0949b643721ee5387fefae0cdab507.zip |
Move hexparse to utils and add default PRBS poly
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/utils.h b/src/utils.h index f65bba8..94712cd 100644 --- a/src/utils.h +++ b/src/utils.h @@ -26,9 +26,10 @@ You should have received a copy of the GNU General Public License along with ODR-DabMux. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _UTILS_H -#define _UTILS_H +#pragma once +#include <string> +#include <vector> #include <cstdio> #include <memory> #include "MuxElements.h" @@ -78,5 +79,6 @@ void printEnsemble(const std::shared_ptr<dabEnsemble> ensemble); /* Print detailed component information */ void printComponent(DabComponent* component); -#endif + +long hexparse(const std::string& input); |