Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
98d9d9d3
Commit
98d9d9d3
authored
Oct 20, 2005
by
Timothy Stack
Browse files
Allow modify_reswap as an acceptable state.
parent
27a6fb66
Changes
2
Hide whitespace changes
Inline
Side-by-side
event/sched/rpc.cc
View file @
98d9d9d3
...
...
@@ -329,6 +329,8 @@ RPC_expt_state(char *pid, char *eid)
retval
=
ES_ACTIVATING
;
else
if
(
strcmp
(
state
,
"active"
)
==
0
)
retval
=
ES_ACTIVE
;
else
if
(
strcmp
(
state
,
"modify_reswap"
)
==
0
)
retval
=
ES_MODIFY_RESWAP
;
}
return
retval
;
...
...
event/sched/rpc.h
View file @
98d9d9d3
...
...
@@ -58,6 +58,7 @@ typedef enum {
ES_UNKNOWN
,
ES_ACTIVATING
,
ES_ACTIVE
,
ES_MODIFY_RESWAP
,
}
expt_state_t
;
int
RPC_init
(
const
char
*
certpath
,
const
char
*
host
,
unsigned
short
port
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment