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
91e47087
Commit
91e47087
authored
5 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
add version field at ss_resolve_s, add ss_resolve_module_path function. Change SS_NOTYPE to -1
parent
caab00ea
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
+7
-5
7 additions, 5 deletions
src/include/66/resolve.h
with
7 additions
and
5 deletions
src/include/66/resolve.h
+
7
−
5
View file @
91e47087
...
...
@@ -16,11 +16,11 @@
#define SS_RESOLVE_H
#include
<stddef.h>
#include
<stdint.h>
#include
<skalibs/genalloc.h>
#include
<skalibs/stralloc.h>
#include
<skalibs/types.h>
#include
<skalibs/uint32.h>
#include
<66/ssexec.h>
#include
<66/parser.h>
...
...
@@ -30,7 +30,7 @@
#define SS_RESOLVE_SRC 1
#define SS_RESOLVE_BACK 2
#define SS_RESOLVE_STATE 3
#define SS_NOTYPE
0
#define SS_NOTYPE
-1
#define SS_SIMPLE 0
#define SS_DOUBLE 1
...
...
@@ -42,6 +42,7 @@ struct ss_resolve_s
uint32_t
name
;
uint32_t
description
;
uint32_t
version
;
uint32_t
logger
;
uint32_t
logreal
;
uint32_t
logassoc
;
...
...
@@ -66,7 +67,7 @@ struct ss_resolve_s
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 }
#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
}
/** Graph struct */
typedef
struct
ss_resolve_graph_ndeps_s
ss_resolve_graph_ndeps_t
;
...
...
@@ -98,8 +99,9 @@ extern ss_resolve_t const ss_resolve_zero ;
extern
void
ss_resolve_init
(
ss_resolve_t
*
res
)
;
extern
void
ss_resolve_free
(
ss_resolve_t
*
res
)
;
extern
int
ss_resolve_pointo
(
stralloc
*
sa
,
ssexec_t
*
info
,
unsigned
int
type
,
unsigned
int
where
)
;
extern
int
ss_resolve_src_path
(
stralloc
*
sasrc
,
char
const
*
sv
,
ssexec_t
*
info
)
;
extern
int
ss_resolve_pointo
(
stralloc
*
sa
,
ssexec_t
*
info
,
int
type
,
unsigned
int
where
)
;
extern
int
ss_resolve_src_path
(
stralloc
*
sasrc
,
char
const
*
sv
,
uid_t
owner
)
;
extern
int
ss_resolve_module_path
(
stralloc
*
sdir
,
stralloc
*
mdir
,
char
const
*
sv
,
uid_t
owner
)
;
extern
int
ss_resolve_src
(
stralloc
*
sasrc
,
char
const
*
name
,
char
const
*
src
,
int
*
found
)
;
extern
int
ss_resolve_service_isdir
(
char
const
*
dir
,
char
const
*
name
)
;
extern
int
ss_resolve_add_uint32
(
stralloc
*
sa
,
uint32_t
data
)
;
...
...
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