libdisplay-info/include/displayid.h
Simon Ser 7a6d694b1a Add basic support for DisplayID in EDID extension blocks
Establish the new headers and structs, and just parse the
version/revision for now.

Signed-off-by: Simon Ser <contact@emersion.fr>
2022-09-02 06:42:06 +00:00

24 lines
403 B
C

#ifndef DISPLAYID_H
#define DISPLAYID_H
/**
* Private header for the low-level DisplayID API.
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <libdisplay-info/displayid.h>
#include "log.h"
struct di_displayid {
int version, revision;
};
bool
_di_displayid_parse(struct di_displayid *displayid, const uint8_t *data,
size_t size, struct di_logger *logger);
#endif