ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
video/ascii/frame_validator.h
Go to the documentation of this file.
1#ifndef FRAME_VALIDATOR_H
2#define FRAME_VALIDATOR_H
3
4#include <stddef.h>
5#include <stdint.h>
6#include <stdbool.h>
7
20bool frame_validate_integrity(const char *frame_data, size_t frame_size);
21
32size_t frame_get_valid_end(const char *frame_data, size_t frame_size);
33
34#endif // FRAME_VALIDATOR_H
ClangTool/LibTooling compatibility shim for stdbool.h.
bool frame_validate_integrity(const char *frame_data, size_t frame_size)
Validate ASCII frame integrity.
size_t frame_get_valid_end(const char *frame_data, size_t frame_size)
Get the actual valid frame end position.