blob: 5faa5ea40eed3485715dda19c96823c7adf0c256 [file] [log] [blame]
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02001/*! \file bitcomp.h
2 * Osmocom bit compression routines. */
3/*
Harald Weltee08da972017-11-13 01:00:26 +09004 * (C) 2016 by sysmocom - s.f.m.c. GmbH
5 * Author: Max Suraev <msuraev@sysmocom.de>
Max5c18e262016-02-05 13:55:38 +01006 * All Rights Reserved
7 *
Harald Weltee08da972017-11-13 01:00:26 +09008 * SPDX-License-Identifier: GPL-2.0+
9 *
Max5c18e262016-02-05 13:55:38 +010010 * 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 Hofmeyr17518fe2017-06-20 04:35:06 +020026#pragma once
27
Max5c18e262016-02-05 13:55:38 +010028/*! \defgroup bitcomp Bit compression
29 * @{
Neels Hofmeyr17518fe2017-06-20 04:35:06 +020030 * \file bitcomp.h */
Max5c18e262016-02-05 13:55:38 +010031
32#include <stdint.h>
33#include <stdbool.h>
34
35#include <osmocom/core/bitvec.h>
36
37
38int osmo_t4_encode(struct bitvec *bv);
Max5c18e262016-02-05 13:55:38 +010039
40/*! @} */