diff options
author | Joursoir <chat@joursoir.net> | 2021-02-22 16:13:14 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-02-22 16:13:14 +0000 |
commit | d81afd1cd15df4f789b5fb12c640fcd19312ee0c (patch) | |
tree | 2f069185f2b3e7bf7bb0ede00f9f3b82a429ee1c /src/exec-cmd.h | |
parent | 51abd93e4dddf4682f260d192b680be3ba1a0585 (diff) | |
download | lock-password-d81afd1cd15df4f789b5fb12c640fcd19312ee0c.tar.gz lock-password-d81afd1cd15df4f789b5fb12c640fcd19312ee0c.tar.bz2 lock-password-d81afd1cd15df4f789b5fb12c640fcd19312ee0c.zip |
commands return exit-code; add usefull macros
Diffstat (limited to 'src/exec-cmd.h')
-rw-r--r-- | src/exec-cmd.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/exec-cmd.h b/src/exec-cmd.h index 2bd8000..69efd54 100644 --- a/src/exec-cmd.h +++ b/src/exec-cmd.h @@ -1,14 +1,14 @@ #ifndef LPASS_EXECCMD_H #define LPASS_EXECCMD_H -void cmd_showtree(int argc, char *argv[]); -void cmd_init(int argc, char *argv[]); -void cmd_insert(int argc, char *argv[]); -void cmd_edit(int argc, char *argv[]); -void cmd_generate(int argc, char *argv[]); -void cmd_remove(int argc, char *argv[]); -void cmd_move(int argc, char *argv[]); -void cmd_help(int argc, char *argv[]); -void cmd_version(int argc, char *argv[]); +int cmd_showtree(int argc, char *argv[]); +int cmd_init(int argc, char *argv[]); +int cmd_insert(int argc, char *argv[]); +int cmd_edit(int argc, char *argv[]); +int cmd_generate(int argc, char *argv[]); +int cmd_remove(int argc, char *argv[]); +int cmd_move(int argc, char *argv[]); +int cmd_help(int argc, char *argv[]); +int cmd_version(int argc, char *argv[]); #endif /* LPASS_EXECCMD_H */ |