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

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

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


Revision 1.3 - (hide annotations) (download) (as text)
Tue Nov 13 04:50:40 2001 UTC (17 years, 11 months ago) by stdarg
Branch: MAIN
Changes since 1.2: +6 -0 lines
File MIME type: text/x-csrc
* Added convenience functions for script_var_t's.
* Converted a bunch of functions in tcldcc.c.

1 stdarg 1.2 #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 stdarg 1.1
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 stdarg 1.3 script_var_t *script_string(char *str, int len);
21     script_var_t *script_int(int val);
22     script_var_t *script_list(int nitems, ...);
23     int script_list_append(script_var_t *list, script_var_t *item);
24    
25    
26 stdarg 1.1 #endif /* _SCRIPT_H_ */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23