diff options
author | Johnathan Corgan | 2009-10-16 12:22:42 -0700 |
---|---|---|
committer | Johnathan Corgan | 2009-11-03 07:21:42 -0800 |
commit | 96c92bb05fdbd2d42bb485bee46e63931d465cc3 (patch) | |
tree | 0fe809434adc8a1679eb079cce2fb758b3991928 /gr-pager/lib/pageri_bch3221.h | |
parent | 5a0887f9138dc4dd0e8e09bb859a513bd7c971e2 (diff) | |
download | gnuradio-96c92bb05fdbd2d42bb485bee46e63931d465cc3.tar.gz gnuradio-96c92bb05fdbd2d42bb485bee46e63931d465cc3.tar.bz2 gnuradio-96c92bb05fdbd2d42bb485bee46e63931d465cc3.zip |
Directory reorganization to newer layout
Top-level applications go into 'apps' (previous commit)
C++ library build goes into 'lib'
SWIG generation goes into 'swig'
Pure python modules/code goes into 'python'
Diffstat (limited to 'gr-pager/lib/pageri_bch3221.h')
-rw-r--r-- | gr-pager/lib/pageri_bch3221.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gr-pager/lib/pageri_bch3221.h b/gr-pager/lib/pageri_bch3221.h new file mode 100644 index 000000000..9dd2be86a --- /dev/null +++ b/gr-pager/lib/pageri_bch3221.h @@ -0,0 +1,31 @@ +/* + * Copyright 2006 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * GNU Radio is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. + * + * GNU Radio is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Radio; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ + +#ifndef INCLUDED_PAGERI_BCH3221_H +#define INCLUDED_PAGERI_BCH3221_H + +#include <gr_types.h> + +// Perform BCH (32,21) error correction on supplied data +// Return number of errors found/corrected (0, 1, or 2) +int pageri_bch3221(gr_int32 &data); + +#endif /* INCLUDED_PAGERI_BCH3221_H */ |