blob: 21679577862b8d3cce2ad99aab141838e6dd03cb [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 *
Max5c18e262016-02-05 13:55:38 +010020 */
21
Neels Hofmeyr17518fe2017-06-20 04:35:06 +020022#pragma once
23
Max5c18e262016-02-05 13:55:38 +010024/*! \defgroup bitcomp Bit compression
25 * @{
Neels Hofmeyr17518fe2017-06-20 04:35:06 +020026 * \file bitcomp.h */
Max5c18e262016-02-05 13:55:38 +010027
28#include <stdint.h>
29#include <stdbool.h>
30
31#include <osmocom/core/bitvec.h>
32
33
34int osmo_t4_encode(struct bitvec *bv);
Max5c18e262016-02-05 13:55:38 +010035
36/*! @} */