diff options
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 } +}; + |