Skip to content
Snippets Groups Projects
Commit 2dd60213 authored by rswindell's avatar rswindell
Browse files

Created numeric constants for syslog priority/severity levels (e.g. LOG_ERR),

so sbbsdefs.js need not be loaded for these values, which also could possibly
be platform-dependant.
parent 1ceddeb2
No related branches found
No related tags found
No related merge requests found
......@@ -2523,6 +2523,16 @@ static jsConstIntSpec js_global_const_ints[] = {
{"ECONNREFUSED" ,ECONNREFUSED },
{"EINPROGRESS" ,EINPROGRESS },
/* Log priority values from syslog.h/sbbsdefs.h (possibly platform-dependant) */
{"LOG_EMERG" ,LOG_EMERG },
{"LOG_ALERT" ,LOG_ALERT },
{"LOG_CRIT" ,LOG_CRIT },
{"LOG_ERR" ,LOG_ERR },
{"LOG_WARNING" ,LOG_WARNING },
{"LOG_NOTICE" ,LOG_NOTICE },
{"LOG_INFO" ,LOG_INFO },
{"LOG_DEBUG" ,LOG_DEBUG },
/* Terminator (Governor Arnold) */
{0}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment