Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
bec6ca1d
Commit
bec6ca1d
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Modify comment to indicate user must xfree returned value.
parent
04c91ea4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/node_select.c
+2
-1
2 additions, 1 deletion
src/common/node_select.c
src/common/node_select.h
+2
-1
2 additions, 1 deletion
src/common/node_select.h
with
4 additions
and
2 deletions
src/common/node_select.c
+
2
−
1
View file @
bec6ca1d
...
@@ -548,7 +548,8 @@ extern int select_g_set_jobinfo (select_jobinfo_t jobinfo,
...
@@ -548,7 +548,8 @@ extern int select_g_set_jobinfo (select_jobinfo_t jobinfo,
/* get data from a select job credential
/* get data from a select job credential
* IN jobinfo - updated select job credential
* IN jobinfo - updated select job credential
* IN data_type - type of data to enter into job credential
* IN data_type - type of data to enter into job credential
* IN/OUT data - the data to enter into job credential
* OUT data - the data to get from job credential, caller must xfree
* data for data_tyep == SELECT_DATA_PART_ID
*/
*/
extern
int
select_g_get_jobinfo
(
select_jobinfo_t
jobinfo
,
extern
int
select_g_get_jobinfo
(
select_jobinfo_t
jobinfo
,
enum
select_data_type
data_type
,
void
*
data
)
enum
select_data_type
data_type
,
void
*
data
)
...
...
This diff is collapsed.
Click to expand it.
src/common/node_select.h
+
2
−
1
View file @
bec6ca1d
...
@@ -156,7 +156,8 @@ extern int select_g_set_jobinfo (select_jobinfo_t jobinfo,
...
@@ -156,7 +156,8 @@ extern int select_g_set_jobinfo (select_jobinfo_t jobinfo,
/* get data from a select job credential
/* get data from a select job credential
* IN jobinfo - updated select job credential
* IN jobinfo - updated select job credential
* IN data_type - type of data to enter into job credential
* IN data_type - type of data to enter into job credential
* IN/OUT data - the data to enter into job credential
* OUT data - the data to get from job credential, caller must xfree
* data for data_tyep == SELECT_DATA_PART_ID
*/
*/
extern
int
select_g_get_jobinfo
(
select_jobinfo_t
jobinfo
,
extern
int
select_g_get_jobinfo
(
select_jobinfo_t
jobinfo
,
enum
select_data_type
data_type
,
void
*
data
);
enum
select_data_type
data_type
,
void
*
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