summaryrefslogtreecommitdiffstats
path: root/src/shell.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-18 16:36:16 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-18 16:36:16 +0200
commit87dd930beddef23e7278df476584d9071b76929c (patch)
tree08fad728710df457a0856b93ebe55be350a15991 /src/shell.h
parentdd5d95468e98c8ad009de2297a12544daa30ad29 (diff)
downloadfastd-87dd930beddef23e7278df476584d9071b76929c.tar
fastd-87dd930beddef23e7278df476584d9071b76929c.zip
Clean up shell command handling
Diffstat (limited to 'src/shell.h')
-rw-r--r--src/shell.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shell.h b/src/shell.h
index e6c3618..21a451b 100644
--- a/src/shell.h
+++ b/src/shell.h
@@ -58,4 +58,5 @@ static inline bool fastd_shell_command_isset(const fastd_shell_command_t *comman
return command->command;
}
-bool fastd_shell_command_exec(fastd_context_t *ctx, const fastd_shell_command_t *command, const fastd_peer_t *peer, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *peer_addr, int *ret);
+bool fastd_shell_command_exec_sync(fastd_context_t *ctx, const fastd_shell_command_t *command, const fastd_peer_t *peer, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *peer_addr, int *ret);
+void fastd_shell_command_exec(fastd_context_t *ctx, const fastd_shell_command_t *command, const fastd_peer_t *peer, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *peer_addr);