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