summaryrefslogtreecommitdiff
path: root/config_cmds.h
blob: 2ae8574b2fddfbcdc2df4c32e540673c79e391f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef __CONFIG_CMDS_H
#define __CONFIG_CMDS_H

typedef struct single_cmd_def
{
	char *name;
	void *(*callback)(void *);
} single_cmd_def;


//list all include files with commands
#include "cmd_date.h"
#include "cmd_uptime.h"
#include "cmd_version.h"
#include "cmd_ping.h"

single_cmd_def confgi_cmd_list[] =
{
	{"DATE",cmd_date},
	{"UPTIME",cmd_uptime},
	{"VERSION",cmd_version},
	{"PING",cmd_ping},
	{NULL,NULL}
};


#endif