source: npl/mediabox/lcdproc_edwin/src/server/client_functions.h @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.4 KB
Line 
1#ifndef CLIENT_FUNCTION_H
2#define CLIENT_FUNCTION_H
3
4
5/*
6  The function list for clients is stored in a table, and the items each
7  point to a function to call, defined below.
8 */
9
10typedef struct client_function
11{
12      char *keyword;
13      int (*function)(client *c, int argc, char **argv);
14} client_function;
15
16// FIXME?  Do these really need to be visible from other sources?
17int test_func_func(client *c, int argc, char **argv);
18int hello_func(client *c, int argc, char **argv);
19int client_set_func(client *c, int argc, char **argv);
20int client_add_key_func(client *c, int argc, char **argv);
21int client_del_key_func(client *c, int argc, char **argv);
22int screen_add_func(client *c, int argc, char **argv);
23int screen_del_func(client *c, int argc, char **argv);
24int screen_set_func(client *c, int argc, char **argv);
25int widget_add_func(client *c, int argc, char **argv);
26int widget_del_func(client *c, int argc, char **argv);
27int widget_set_func(client *c, int argc, char **argv);
28int menu_add_func(client *c, int argc, char **argv);
29int menu_del_func(client *c, int argc, char **argv);
30int menu_set_func(client *c, int argc, char **argv);
31int menu_item_add_func(client *c, int argc, char **argv);
32int menu_item_del_func(client *c, int argc, char **argv);
33int menu_item_set_func(client *c, int argc, char **argv);
34int backlight_func(client *c, int argc, char **argv);
35int output_func(client *c, int argc, char **argv);
36
37extern client_function commands[];
38
39
40
41#endif
Note: See TracBrowser for help on using the repository browser.