Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
558e8711
Commit
558e8711
authored
7 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Move some definitions back to sbbsdefs.js that were accidentally moved
to smbdefs.js.
parent
9a02d894
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
exec/load/sbbsdefs.js
+17
-0
17 additions, 0 deletions
exec/load/sbbsdefs.js
exec/load/smbdefs.js
+0
-16
0 additions, 16 deletions
exec/load/smbdefs.js
with
17 additions
and
16 deletions
exec/load/sbbsdefs.js
+
17
−
0
View file @
558e8711
...
...
@@ -612,6 +612,23 @@ var LOG_DEBUG =7; /* debug-level messages */
/********************************************/
}
/* "flags" bits for directory() */
var
GLOB_MARK
=
(
1
<<
1
);
/* Append a slash to each name. */
var
GLOB_NOSORT
=
(
1
<<
2
);
/* Don't sort the names. */
var
GLOB_APPEND
=
(
1
<<
5
);
/* Append to results of a previous call. */
var
GLOB_NOESCAPE
=
(
1
<<
6
);
/* Backslashes don't quote metacharacters. */
var
GLOB_PERIOD
=
(
1
<<
7
);
/* Leading `.' can be matched by metachars. */
var
GLOB_ONLYDIR
=
(
1
<<
13
);
/* Match only directories. */
/********************************************/
/* Values for which in bbs.read_mail() */
/********************************************/
var
MAIL_YOUR
=
0
;
/* mail sent to you */
var
MAIL_SENT
=
1
;
/* mail you have sent */
var
MAIL_ANY
=
2
;
/* mail sent to or from you */
var
MAIL_ALL
=
3
;
/* all mail (ignores usernumber arg) */
/********************************************/
/********************************************/
/* 'mode' bits for bbs.email()/netmail() */
/********************************************/
...
...
This diff is collapsed.
Click to expand it.
exec/load/smbdefs.js
+
0
−
16
View file @
558e8711
...
...
@@ -109,19 +109,3 @@ var AGENT_SMTPSYSMSG =3; /* Synchronet SMTP server system message */
var
SMB_COMMENT
=
0x62
;
/* Appear in message text, before body */
var
SMB_POLL_ANSWER
=
0xe0
;
/* One poll answer (the subject is the question) */
/* "flags" bits for directory() */
var
GLOB_MARK
=
(
1
<<
1
);
/* Append a slash to each name. */
var
GLOB_NOSORT
=
(
1
<<
2
);
/* Don't sort the names. */
var
GLOB_APPEND
=
(
1
<<
5
);
/* Append to results of a previous call. */
var
GLOB_NOESCAPE
=
(
1
<<
6
);
/* Backslashes don't quote metacharacters. */
var
GLOB_PERIOD
=
(
1
<<
7
);
/* Leading `.' can be matched by metachars. */
var
GLOB_ONLYDIR
=
(
1
<<
13
);
/* Match only directories. */
/********************************************/
/* Values for which in bbs.read_mail() */
/********************************************/
var
MAIL_YOUR
=
0
;
/* mail sent to you */
var
MAIL_SENT
=
1
;
/* mail you have sent */
var
MAIL_ANY
=
2
;
/* mail sent to or from you */
var
MAIL_ALL
=
3
;
/* all mail (ignores usernumber arg) */
/********************************************/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment