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
c4526fb9
Commit
c4526fb9
authored
4 years ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
useless commit, reorganize it
parent
438512a3
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/utils.h
+9
-7
9 additions, 7 deletions
src/include/66/utils.h
with
9 additions
and
7 deletions
src/include/66/utils.h
+
9
−
7
View file @
c4526fb9
...
...
@@ -31,22 +31,24 @@
#define MYGID getgid()
#define YOURGID(passto,owner) yourgid(passto,owner)
/** get_uidgid.c */
extern
int
youruid
(
uid_t
*
passto
,
char
const
*
owner
)
;
extern
int
yourgid
(
gid_t
*
passto
,
uid_t
owner
)
;
extern
char
const
*
get_userhome
(
uid_t
myuid
)
;
extern
int
set_ownerhome
(
stralloc
*
base
,
uid_t
owner
)
;
extern
int
set_ownersysdir
(
stralloc
*
base
,
uid_t
owner
)
;
/** ss_utils.c file */
extern
int
scandir_ok
(
char
const
*
dir
)
;
extern
int
scandir_send_signal
(
char
const
*
scandir
,
char
const
*
signal
)
;
extern
char
const
*
get_userhome
(
uid_t
myuid
)
;
extern
int
youruid
(
uid_t
*
passto
,
char
const
*
owner
)
;
extern
int
yourgid
(
gid_t
*
passto
,
uid_t
owner
)
;
extern
int
set_livedir
(
stralloc
*
live
)
;
extern
int
set_livescan
(
stralloc
*
live
,
uid_t
owner
)
;
extern
int
set_livetree
(
stralloc
*
live
,
uid_t
owner
)
;
extern
int
set_livestate
(
stralloc
*
live
,
uid_t
owner
)
;
extern
int
set_ownerhome
(
stralloc
*
base
,
uid_t
owner
)
;
extern
int
set_ownersysdir
(
stralloc
*
base
,
uid_t
owner
)
;
extern
int
read_svfile
(
stralloc
*
sasv
,
char
const
*
name
,
char
const
*
src
)
;
extern
int
module_in_cmdline
(
genalloc
*
gares
,
ss_resolve_t
*
res
,
char
const
*
dir
)
;
/** ss_instance.c file */
extern
int
instance_check
(
char
const
*
svname
)
;
extern
int
instance_splitname
(
stralloc
*
sa
,
char
const
*
name
,
int
len
,
int
what
)
;
//extern int instance_change_name(stralloc *sa,char const *template,char const *copy) ;
extern
int
instance_create
(
stralloc
*
sasv
,
char
const
*
svname
,
char
const
*
regex
,
int
len
)
;
#endif
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