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
81606f8e
Commit
81606f8e
authored
9 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
CASTOR-5107 Improve the const correctness of Cns_queryclass()
Fixed.
parent
43a13f02
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
h/Cns_api.h
+1
-1
1 addition, 1 deletion
h/Cns_api.h
ns/Cns_queryclass.c
+1
-1
1 addition, 1 deletion
ns/Cns_queryclass.c
ns/Cns_queryclass.man
+2
-2
2 additions, 2 deletions
ns/Cns_queryclass.man
with
4 additions
and
4 deletions
h/Cns_api.h
+
1
−
1
View file @
81606f8e
...
...
@@ -275,7 +275,7 @@ EXTERN_C Cns_DIR *Cns_opendir (const char *);
EXTERN_C
Cns_DIR
*
Cns_opendirg
(
const
char
*
,
const
char
*
);
EXTERN_C
Cns_DIR
*
Cns_opendirxg
(
char
*
,
const
char
*
,
const
char
*
);
EXTERN_C
int
Cns_ping
(
char
*
,
char
*
);
EXTERN_C
int
Cns_queryclass
(
char
*
,
int
,
char
*
,
struct
Cns_fileclass
*
);
EXTERN_C
int
Cns_queryclass
(
const
char
*
,
int
,
const
char
*
,
struct
Cns_fileclass
*
);
EXTERN_C
struct
dirent
*
Cns_readdir
(
Cns_DIR
*
);
EXTERN_C
struct
Cns_direncomm
*
Cns_readdirc
(
Cns_DIR
*
);
EXTERN_C
struct
Cns_direnstatg
*
Cns_readdirg
(
Cns_DIR
*
);
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_queryclass.c
+
1
−
1
View file @
81606f8e
...
...
@@ -17,7 +17,7 @@
#include
"serrno.h"
int
Cns_queryclass
(
char
*
server
,
int
classid
,
char
*
class_name
,
struct
Cns_fileclass
*
Cns_fileclass
)
Cns_queryclass
(
const
char
*
server
,
int
classid
,
const
char
*
class_name
,
struct
Cns_fileclass
*
Cns_fileclass
)
{
int
c
;
char
func
[
16
];
...
...
This diff is collapsed.
Click to expand it.
ns/Cns_queryclass.man
+
2
−
2
View file @
81606f8e
...
...
@@ -9,9 +9,9 @@ Cns_queryclass \- query about a fileclass definition in the name server
.br
\fB#include "Cns_api.h"\fR
.sp
.BI "int Cns_queryclass (char *" server ,
.BI "int Cns_queryclass (
const
char *" server ,
.BI "int " classid ,
.BI "char *" class_name ,
.BI "
const
char *" class_name ,
.BI "struct Cns_fileclass *" Cns_fileclass )
.SH DESCRIPTION
.B Cns_queryclass
...
...
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