mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-13 12:33:27 +02:00
Add command-line options for cppcheck to the CI job: - `--suppress=constParameterCallback` - `--check-level=exhaustive` information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. - `--force` information: Too many #ifdef configurations - cppcheck only checks 12 configurations. Use --force to check all configurations. Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
20 lines
458 B
C
20 lines
458 B
C
// SPDX-License-Identifier: BSD-3-Clause OR Apache-2.0
|
|
#ifndef CLA_BIBE_PROTO_H
|
|
#define CLA_BIBE_PROTO_H
|
|
|
|
#include "ud3tn/bundle.h"
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
struct bibe_header {
|
|
size_t hdr_len;
|
|
uint8_t *data;
|
|
};
|
|
|
|
size_t bibe_parser_parse(const uint8_t *buffer, size_t length,
|
|
struct bibe_protocol_data_unit *bpdu);
|
|
|
|
int bibe_encode_header(const char *dest_eid, size_t payload_len, struct bibe_header *hdr);
|
|
|
|
#endif // CLA_BIBE_PROTO_H
|