Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-e1-recorder
/
6daa71dbd2898ee4afad984eff79c30ce171d0d6
/
.
/
src
/
hdlc.h
blob: 2d44e75ccd0ef31c55864f39c2bda2c3b477ee5b [
file
] [
log
] [
blame
]
#pragma
once
#include
<osmocom/core/bits.h>
struct
hdlc_proc
{
ubit_t
history
[
8
];
ubit_t
next_outbyte
[
8
];
uint8_t
num_bits
;
};
int
process_raw_hdlc
(
struct
hdlc_proc
*
hdlc
,
uint8_t
*
data
,
unsigned
int
len
);