Skip to content
Snippets Groups Projects
Commit dc73dca7 authored by Moe Jette's avatar Moe Jette
Browse files

Changes to comments. No change in logic

parent 8f046a59
No related branches found
No related tags found
No related merge requests found
...@@ -80,8 +80,11 @@ reject_msg_t reject_msgs[REJECT_MSG_MAX]; ...@@ -80,8 +80,11 @@ reject_msg_t reject_msgs[REJECT_MSG_MAX];
/* /*
* get_jobs - get information on specific job(s) changed since some time * get_jobs - get information on specific job(s) changed since some time
* cmd_ptr IN - CMD=GETJOBS ARG=[<UPDATETIME>:<JOBID>[:<JOBID>]...] * cmd_ptr IN - CMD=GETJOBS ARG=[<UPDATETIME>:<JOBID>[:<JOBID>]...]
* [<UPDATETIME>:ALL] * [<UPDATETIME>:ALL]
* err_code OUT - 0 or an error code
* err_msg OUT - response message
* NOTE: xfree() err_msg if err_code is zero
* RET 0 on success, -1 on failure * RET 0 on success, -1 on failure
* *
* Response format * Response format
...@@ -113,7 +116,6 @@ reject_msg_t reject_msgs[REJECT_MSG_MAX]; ...@@ -113,7 +116,6 @@ reject_msg_t reject_msgs[REJECT_MSG_MAX];
* [#<JOBID>;...]; additional jobs, if any * [#<JOBID>;...]; additional jobs, if any
* *
*/ */
/* RET 0 on success, -1 on failure */
extern int get_jobs(char *cmd_ptr, int *err_code, char **err_msg) extern int get_jobs(char *cmd_ptr, int *err_code, char **err_msg)
{ {
char *arg_ptr = NULL, *tmp_char = NULL, *tmp_buf = NULL, *buf = NULL; char *arg_ptr = NULL, *tmp_char = NULL, *tmp_buf = NULL, *buf = NULL;
......
...@@ -49,8 +49,11 @@ static char * _get_node_state(struct node_record *node_ptr); ...@@ -49,8 +49,11 @@ static char * _get_node_state(struct node_record *node_ptr);
/* /*
* get_nodes - get information on specific node(s) changed since some time * get_nodes - get information on specific node(s) changed since some time
* cmd_ptr IN - CMD=GETNODES ARG=[<UPDATETIME>:<NODEID>[:<NODEID>]...] * cmd_ptr IN - CMD=GETNODES ARG=[<UPDATETIME>:<NODEID>[:<NODEID>]...]
* [<UPDATETIME>:ALL] * [<UPDATETIME>:ALL]
* err_code OUT - 0 or an error code
* err_msg OUT - response message
* NOTE: xfree() err_msg if err_code is zero
* RET 0 on success, -1 on failure * RET 0 on success, -1 on failure
* *
* Response format * Response format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment