Changeset 16903 for trunk/Ohana/src/opihi/pantasks/init_client.c
- Timestamp:
- Mar 9, 2008, 11:05:49 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/init_client.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/init_client.c
r16453 r16903 1 1 # include "pantasks.h" 2 2 3 int invalid PROTO((int, char **)); 3 int invalid PROTO((int, char **)); 4 int server_shutdown PROTO((int, char **)); 5 int server_disconnect PROTO((int, char **)); 6 int server_connect PROTO((int, char **)); 4 7 5 /* we list here commands which are not valid for the client,6 but represent valid pantasks commands. these are caught7 by the client and sent to the 'invalid'function */8 /* we also list here commands which are not valid for the client, but represent valid 9 pantasks commands. these are caught by the client and sent to the 'invalid' 10 function */ 8 11 9 12 static Command cmds[] = { 10 {1, "task", invalid, "define a schedulable task"}, 11 {1, "task.exit", invalid, "define exit macros for a task"}, 12 {1, "task.exec", invalid, "define pre-exec macro for a task"}, 13 {1, "task", invalid, "define a schedulable task"}, 14 {1, "task.exit", invalid, "define exit macros for a task"}, 15 {1, "task.exec", invalid, "define pre-exec macro for a task"}, 16 17 {1, "shutdown", server_shutdown, "send exit signal to server"}, 18 {1, "disconnect", server_disconnect, "close connection to server"}, 19 {1, "connect", server_connect, "open connection to server"}, 20 13 21 }; 14 22
Note:
See TracChangeset
for help on using the changeset viewer.
