mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-11-16 19:48:30 +01:00
7a6d694b1a
Establish the new headers and structs, and just parse the version/revision for now. Signed-off-by: Simon Ser <contact@emersion.fr>
24 lines
403 B
C
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
|