/[cvs]/eggdrop1.9/src/script.h
ViewVC logotype

Contents of /eggdrop1.9/src/script.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Tue Oct 16 02:42:32 2001 UTC (18 years ago) by stdarg
Branch: MAIN
Changes since 1.1: +10 -2 lines
File MIME type: text/x-csrc
Updated tclscript.mod a bit.
Made bind and unbind use the new tclscript module.

1 #ifndef _SCRIPT_H_
2 #define _SCRIPT_H_
3
4 typedef struct {
5 char *name;
6 Function callback;
7 char *syntax;
8 char *syntax_error;
9 int retval_type;
10 } script_simple_command_t;
11
12 int script_link_int_table(script_int_t *table);
13 int script_unlink_int_table(script_int_t *table);
14 int script_link_str_table(script_str_t *table);
15 int script_unlink_str_table(script_str_t *table);
16 int script_create_cmd_table(script_command_t *table);
17 int script_delete_cmd_table(script_command_t *table);
18 int script_create_simple_cmd_table(script_simple_command_t *table);
19
20 #endif /* _SCRIPT_H_ */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23