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
48bedf00
Commit
48bedf00
authored
19 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Add expired flag, commented the struct members.
parent
9dc5bc81
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/js_cache.h
+8
-6
8 additions, 6 deletions
src/sbbs3/js_cache.h
with
8 additions
and
6 deletions
src/sbbs3/js_cache.h
+
8
−
6
View file @
48bedf00
...
...
@@ -4,13 +4,15 @@
/* JS Compile Cache Stuff */
struct
cache_data
{
char
filename
[
MAX_PATH
+
1
];
time_t
mtime
,
ctime
;
off_t
size
;
ulong
runcount
;
time_t
lastrun
;
time_t
laststat
;
time_t
mtime
,
ctime
;
/* st_mtime/st_ctime from last stat() call */
off_t
size
;
/* File size when loaded */
ulong
runcount
;
/* Number of times this script has been used */
time_t
lastrun
;
/* Time script was last ran */
time_t
laststat
;
/* Time of last call to stat() */
JSScript
*
script
;
int
running
;
int
running
;
/* Count of currently running scripts */
int
expired
;
/* TRUE if last stat() makes this as stale and
* running was non-zero */
};
typedef
struct
{
...
...
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