#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 "config_all_cmds.h" //some commands have aliases for compat with some developerslv bots //nothing else comaptible will be added, as its not about "standarts" single_cmd_def confgi_cmd_list[] = { {"DATE",cmd_date}, {"UPTIME",cmd_uptime}, {"VERSION",cmd_version}, {"!version",cmd_version}, {"PING",cmd_ping}, {"!ping",cmd_ping}, {"LOADAVG",cmd_loadavg}, {"RUSE",cmd_rusage}, {"CMD",cmd_cmd}, {"!echo",cmd_cmd}, {"SHA1",cmd_sha1}, {"COOKIE",cmd_cookie}, {"BOTU",cmd_botu}, {"!uptime",cmd_botu}, {"FIR1P",cmd_fir1p}, {"RAND",cmd_rand}, {"RANDC",cmd_rand_libc}, {"FIR",cmd_fir}, {"HELP",cmd_help}, {"SPI",cmd_spi}, {"STAT",cmd_stat}, {NULL,NULL} }; #endif