Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
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
Harbor 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
dCache
cta
Commits
2b8a82fd
Commit
2b8a82fd
authored
9 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
CASTOR-5102 RFE: The host and request payload parameters of send2nsd() should be make const
parent
29a082fc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
h/Cns_api.h
+2
-2
2 additions, 2 deletions
h/Cns_api.h
ns/send2nsd.c
+4
-4
4 additions, 4 deletions
ns/send2nsd.c
with
6 additions
and
6 deletions
h/Cns_api.h
+
2
−
2
View file @
2b8a82fd
...
...
@@ -310,10 +310,10 @@ EXTERN_C mode_t Cns_umask (mode_t);
EXTERN_C
int
Cns_unlink
(
const
char
*
);
EXTERN_C
int
Cns_unlinkbyvid
(
char
*
,
const
char
*
);
EXTERN_C
int
Cns_utime
(
const
char
*
,
struct
utimbuf
*
);
EXTERN_C
int
send2nsd
(
int
*
,
c
har
*
,
char
*
,
int
,
char
*
,
int
);
EXTERN_C
int
send2nsd
(
int
*
,
c
onst
char
*
,
const
char
*
,
int
,
char
*
,
int
);
EXTERN_C
int
Cns_setid
(
uid_t
,
gid_t
);
EXTERN_C
int
Cns_getid
(
uid_t
*
,
gid_t
*
);
EXTERN_C
int
Cns_getrealid
(
uid_t
*
,
gid_t
*
);
EXTERN_C
int
Cns_unsetid
();
EXTERN_C
int
send2nsdx
(
int
*
,
c
har
*
,
char
*
,
int
,
char
*
,
int
,
void
**
,
int
*
);
EXTERN_C
int
send2nsdx
(
int
*
,
c
onst
char
*
,
const
char
*
,
int
,
char
*
,
int
,
void
**
,
int
*
);
This diff is collapsed.
Click to expand it.
ns/send2nsd.c
+
4
−
4
View file @
2b8a82fd
...
...
@@ -23,8 +23,8 @@
/* send2nsd - send a request to the name server and wait for the reply */
int
send2nsdx
(
int
*
socketp
,
char
*
host
,
char
*
reqp
,
const
char
*
host
,
const
char
*
reqp
,
int
reql
,
char
*
user_repbuf
,
int
user_repbuf_len
,
...
...
@@ -326,8 +326,8 @@ int send2nsdx(int *socketp,
int
send2nsd
(
int
*
socketp
,
char
*
host
,
char
*
reqp
,
const
char
*
host
,
const
char
*
reqp
,
int
reql
,
char
*
user_repbuf
,
int
user_repbuf_len
)
...
...
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