Neels Hofmeyr | 17518fe | 2017-06-20 04:35:06 +0200 | [diff] [blame] | 1 | /*! \file bitcomp.h |
| 2 | * Osmocom bit compression routines. */ |
| 3 | /* |
Harald Welte | e08da97 | 2017-11-13 01:00:26 +0900 | [diff] [blame] | 4 | * (C) 2016 by sysmocom - s.f.m.c. GmbH |
| 5 | * Author: Max Suraev <msuraev@sysmocom.de> |
Max | 5c18e26 | 2016-02-05 13:55:38 +0100 | [diff] [blame] | 6 | * All Rights Reserved |
| 7 | * |
Harald Welte | e08da97 | 2017-11-13 01:00:26 +0900 | [diff] [blame] | 8 | * SPDX-License-Identifier: GPL-2.0+ |
| 9 | * |
Max | 5c18e26 | 2016-02-05 13:55:38 +0100 | [diff] [blame] | 10 | * This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License along |
| 21 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 22 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 23 | * |
| 24 | */ |
| 25 | |
Neels Hofmeyr | 17518fe | 2017-06-20 04:35:06 +0200 | [diff] [blame] | 26 | #pragma once |
| 27 | |
Max | 5c18e26 | 2016-02-05 13:55:38 +0100 | [diff] [blame] | 28 | /*! \defgroup bitcomp Bit compression |
| 29 | * @{ |
Neels Hofmeyr | 17518fe | 2017-06-20 04:35:06 +0200 | [diff] [blame] | 30 | * \file bitcomp.h */ |
Max | 5c18e26 | 2016-02-05 13:55:38 +0100 | [diff] [blame] | 31 | |
| 32 | #include <stdint.h> |
| 33 | #include <stdbool.h> |
| 34 | |
| 35 | #include <osmocom/core/bitvec.h> |
| 36 | |
| 37 | |
| 38 | int osmo_t4_encode(struct bitvec *bv); |
Max | 5c18e26 | 2016-02-05 13:55:38 +0100 | [diff] [blame] | 39 | |
| 40 | /*! @} */ |