mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-12-24 21:58:59 +01:00
7834b6ba22
This can be used by parsers (EDID, CTA, DisplayID, etc) to report errors. Signed-off-by: Simon Ser <contact@emersion.fr>
21 lines
301 B
C
21 lines
301 B
C
#ifndef LOG_H
|
|
#define LOG_H
|
|
|
|
/**
|
|
* Private logging utilities.
|
|
*/
|
|
|
|
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
|
|
struct di_logger {
|
|
FILE *f;
|
|
const char *section;
|
|
bool initialized;
|
|
};
|
|
|
|
void
|
|
_di_logger_va_add_failure(struct di_logger *logger, const char fmt[], va_list args);
|
|
|
|
#endif
|