diff options
Diffstat (limited to 'src/common.hh')
| -rw-r--r-- | src/common.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.hh b/src/common.hh index 57c7745..b97de3c 100644 --- a/src/common.hh +++ b/src/common.hh @@ -153,6 +153,10 @@ typedef void TErrorFunction(const char *Text); typedef void TPrintFunction(int Level, const char *Text); void SetErrorFunction(TErrorFunction *Function); void SetPrintFunction(TPrintFunction *Function); +void SilentHandler(const char *Text); +void SilentHandler(int Level, const char *Text); +void LogFileHandler(const char *Text); +void LogFileHandler(int Level, const char *Text); void error(const char *Text, ...) ATTR_PRINTF(1, 2); void print(int Level, const char *Text, ...) ATTR_PRINTF(2, 3); int random(int Min, int Max); |
