2 * commands/command_list.h
3 * This file is part of LCDd, the lcdproc server.
5 * This file is released under the GNU General Public License. Refer to the
6 * COPYING file distributed with this package.
8 * Copyright (c) 1999, William Ferrell, Scott Scriven
12 #ifndef COMMANDS_COMMAND_LIST_H
13 #define COMMANDS_COMMAND_LIST_H
15 #include "../client.h"
18 The function list for clients is stored in a table, and the items each
19 point to a function to call, defined below.
22 typedef int (*CommandFunc
) (Client
* c
, int argc
, char **argv
);
24 typedef struct client_function
{
30 CommandFunc
get_command_function(char *cmd
);