libosmocore
1.11.0.26-c59d
Osmocom core library
Toggle main menu visibility
Main Page
Modules
Data Structures
Data Structures
Data Fields
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Variables
_
a
b
c
d
e
f
g
h
i
l
n
o
p
r
s
t
u
v
x
Typedefs
Enumerations
Enumerator
_
c
g
h
i
l
o
p
r
s
z
Macros
_
a
b
c
d
g
h
i
j
l
m
n
o
r
s
t
w
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
bitcomp.h
Go to the documentation of this file.
1
3
/*
4
* (C) 2016 by sysmocom - s.f.m.c. GmbH
5
* Author: Max Suraev <msuraev@sysmocom.de>
6
* All Rights Reserved
7
*
8
* SPDX-License-Identifier: GPL-2.0+
9
*
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
*/
21
22
#pragma once
23
28
#include <stdint.h>
29
#include <stdbool.h>
30
31
#include <
osmocom/core/bitvec.h
>
32
33
34
int
osmo_t4_encode
(
struct
bitvec
*bv);
35
bitvec.h
osmo_t4_encode
int osmo_t4_encode(struct bitvec *bv)
encode bit vector in-place using T4 encoding Assumes MSB first encoding.
Definition:
bitcomp.c:312
bitvec
structure describing a bit vector
Definition:
bitvec.h:41
include
osmocom
core
bitcomp.h
Generated by
1.9.4