2024-12-01 19:35:24 +00:00
|
|
|
//| Copyright: (C) 2020-2024 Kevin Larke <contact AT larke DOT org>
|
|
|
|
//| License: GNU GPL version 3.0 or above. See the accompanying LICENSE file.
|
2020-03-04 19:25:59 +00:00
|
|
|
#ifndef rpt_h
|
|
|
|
#define rpt_h
|
|
|
|
|
|
|
|
typedef void (*printCallback_t)( const char* text );
|
|
|
|
|
|
|
|
void vrpt( printCallback_t printCbFunc, const char* fmt, va_list vl );
|
|
|
|
void rpt( printCallback_t printCbFunc, const char* fmt, ... );
|
|
|
|
void rptHex( printCallback_t printCbFunc, const void* buf, unsigned bufByteN, const char* label = nullptr, bool asciiFl=true );
|
|
|
|
|
|
|
|
#endif
|