diff options
author | Bjørn Mork <bjorn@mork.no> | 2015-05-15 10:23:51 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2015-05-15 10:23:51 +0200 |
commit | 02013228914a1d17e8df15d4e2b7950469395a5c (patch) | |
tree | 48d2fbe2f5a5adb60cbeabc26fadaec8e0fa82ed /include/cmdtable.h | |
parent | 9b3dbb454e8f8a463d5fe4541ee2001585527bc6 (diff) |
ripe-atlas-fw: imported version 45204520
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'include/cmdtable.h')
-rw-r--r-- | include/cmdtable.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/cmdtable.h b/include/cmdtable.h new file mode 100644 index 0000000..b50d12e --- /dev/null +++ b/include/cmdtable.h @@ -0,0 +1,23 @@ +/* +cmdtable.h + +Commands for perd and ooqd +*/ + +int condmv_main(int argc, char *argv[]); +int httpget_main(int argc, char *argv[]); +int httppost_main(int argc, char *argv[]); +int sslgetcert_main(int argc, char *argv[]); + +static struct builtin +{ + const char *cmd; + int (*func)(int argc, char *argv[]); +} builtin_cmds[]= +{ + { "condmv", condmv_main }, + { "httppost", httppost_main }, + { "sslgetcert", sslgetcert_main }, + { NULL, 0 } +}; + |