Skip to content
Snippets Groups Projects
Commit d4928438 authored by deuce's avatar deuce
Browse files

Pull some interesting constants in from sbbsdefs.js.

parent 1f131a76
No related branches found
No related tags found
No related merge requests found
......@@ -917,3 +917,25 @@ switch(dk.system.mode) {
load("socket_console.js", dk.connection.socket, dk.connection.telnet);
break;
}
// Fun stuff from sbbsdef.js...
log.EMERG =0; /* system is unusable */
log.ALERT =1; /* action must be taken immediately */
log.CRIT =2; /* critical conditions */
log.CRITICAL =log.CRIT; /* critical conditions */
log.ERR =3; /* error conditions */
log.ERROR =log.ERR; /* error conditions */
log.WARNING =4; /* warning conditions */
log.WARN =log.WARNING;/* warning conditions */
log.NOTICE =5; /* normal but significant condition */
log.INFO =6; /* informational */
log.DEBUG =7; /* debug-level messages */
directory.MARK =(1<<1); /* Append a slash to each name. */
directory.NOSORT =(1<<2); /* Don't sort the names. */
directory.APPEND =(1<<5); /* Append to results of a previous call. */
directory.NOESCAPE =(1<<6); /* Backslashes don't quote metacharacters. */
directory.PERIOD =(1<<7); /* Leading `.' can be matched by metachars. */
directory.ONLYDIR =(1<<13); /* Match only directories. */
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