aboutsummaryrefslogtreecommitdiff
path: root/include/cmdtable.h
blob: b50d12e9a0a111b4f9f09317ef9d39c33053c377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 }
};