diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-03-15 10:28:33 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-03-15 10:55:40 +0100 |
commit | f4f91abe09bd0d3a4bc9bc06b073f1acbd374786 (patch) | |
tree | 371f8fd40160af3ea08ad2d1dc9f89222cf12cc2 /src/afm-launch-mode.h | |
parent | b6d4ed93426e7d4425a0178903bf1f19c8ae2f61 (diff) |
afm-run: improvement and comments
Change-Id: I7eee1d6033e645269fe89d17dd9d75c063ed4551
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afm-launch-mode.h')
-rw-r--r-- | src/afm-launch-mode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afm-launch-mode.h b/src/afm-launch-mode.h index 8eee8eb..4b840ab 100644 --- a/src/afm-launch-mode.h +++ b/src/afm-launch-mode.h @@ -25,6 +25,7 @@ enum afm_launch_mode { #define default_launch_mode mode_local #define launch_mode_is_valid(x) ((x)==mode_local || (x)==mode_remote) +#define is_valid_launch_mode(x) ((x)==mode_local || (x)==mode_remote) enum afm_launch_mode launch_mode_of_string(const char *s); const char *name_of_launch_mode(enum afm_launch_mode m); |