mirror of
https://github.com/Team-Resurgent/halo.git
synced 2026-04-30 10:48:22 -07:00
29 lines
423 B
C
29 lines
423 B
C
/*
|
|
ERRORS.H
|
|
*/
|
|
|
|
#ifndef __ERRORS_H
|
|
#define __ERRORS_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
enum
|
|
{
|
|
_error_immediate= 0,
|
|
_error_delayed,
|
|
_error_silent,
|
|
_error_log,
|
|
NUMBER_OF_ERROR_MESSAGE_PRIORITIES,
|
|
|
|
ERROR_MESSAGE_BUFFER_MAXIMUM_SIZE= 2048
|
|
};
|
|
|
|
/* ---------- prototypes/ERRORS.C */
|
|
|
|
void errors_initialize(void);
|
|
void errors_dispose(void);
|
|
void error(long priority, const char *format, ...);
|
|
|
|
#endif // __ERRORS_H
|