Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
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
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
Eric Vidal
66
Commits
438512a3
Commit
438512a3
authored
5 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
add ss_resolve_sort_bytype function, add field contents,ncontents
parent
2493b958
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/include/66/resolve.h
+5
-2
5 additions, 2 deletions
src/include/66/resolve.h
with
5 additions
and
2 deletions
src/include/66/resolve.h
+
5
−
2
View file @
438512a3
...
...
@@ -47,9 +47,10 @@ struct ss_resolve_s
uint32_t
logreal
;
uint32_t
logassoc
;
uint32_t
dstlog
;
uint32_t
deps
;
uint32_t
deps
;
// for module -> list of s6-rc service
uint32_t
optsdeps
;
//optional dependencies
uint32_t
extdeps
;
//external dependencies
uint32_t
contents
;
// module -> list of s6-rc and s6 service
uint32_t
src
;
//frontend source
uint32_t
srconf
;
//configuration file source
uint32_t
live
;
//run/66
...
...
@@ -64,10 +65,11 @@ struct ss_resolve_s
uint32_t
ndeps
;
uint32_t
noptsdeps
;
uint32_t
nextdeps
;
uint32_t
ncontents
;
uint32_t
down
;
uint32_t
disen
;
//disable->0,enable->1
}
;
#define RESOLVE_ZERO { 0,STRALLOC_ZERO,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
#define RESOLVE_ZERO { 0,STRALLOC_ZERO,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
,0,0
}
/** Graph struct */
typedef
struct
ss_resolve_graph_ndeps_s
ss_resolve_graph_ndeps_t
;
...
...
@@ -123,6 +125,7 @@ extern int ss_resolve_create_live(ssexec_t *info) ;
extern
int
ss_resolve_search
(
genalloc
*
ga
,
char
const
*
name
)
;
extern
int
ss_resolve_check_insrc
(
ssexec_t
*
info
,
char
const
*
name
)
;
extern
int
ss_resolve_write_master
(
ssexec_t
*
info
,
ss_resolve_graph_t
*
graph
,
char
const
*
dir
,
unsigned
int
reverse
)
;
extern
int
ss_resolve_sort_bytype
(
genalloc
*
gares
,
stralloc
*
list
,
char
const
*
src
)
;
/** Graph function */
extern
void
ss_resolve_graph_ndeps_free
(
ss_resolve_graph_ndeps_t
*
graph
)
;
...
...
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