core: move report_info and SSRF_INFO to errorhelper.h

qthelper.h is an absolute monstrosity and it is unclear what
report_info and SSRF_INFO have to do with Qt.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-12 08:52:21 +01:00 committed by Dirk Hohndel
parent d653cec7a4
commit fcf0bda042
6 changed files with 8 additions and 9 deletions

View file

@ -10,7 +10,10 @@ extern "C" {
extern int verbose;
extern int report_error(const char *fmt, ...);
extern void report_info(const char *fmt, ...);
extern void set_error_cb(void(*cb)(char *)); // Callback takes ownership of passed string
#define SSRF_INFO(fmt, ...) report_info(fmt, ##__VA_ARGS__)
#ifdef __cplusplus
}