Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-e1-recorder
/
1df5cf49501226ebc9ba7f9989cc7c07d38a3062
/
.
/
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
);