mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-12-26 21:59:15 +01:00
25 lines
403 B
C
25 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
|