|
| |||||||||||||
#include "mit-copyright.h"#include "main.h"#include "exec.h"#include "eval.h"#include "node.h"#include "buffer.h"#include "port.h"#include "variables.h"#include "notice.h"Go to the source code of this file.
Data Structures | |
| struct | _Opstuff |
Defines | |
| #define | NOBREAK 0 |
| #define | BREAK 1 |
| #define | EXIT 2 |
Functions | |
| int | exec_fields () |
| void | exec_process_packet (Node *program, struct jpacket_struct *notice, char *body, int body_sz) |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
Definition at line 465 of file exec.c. References clear_buffer(), count_nulls(), Node, program, var_set_number_variables_to_fields(), and var_set_variable_to_number(). 00470 {
00471 notice_fields = body;
00472 notice_fields_length = body_sz;
00473
00474 var_set_number_variables_to_fields(notice_fields, notice_fields_length);
00475
00476 number_of_fields = count_nulls(notice_fields, notice_fields_length) + 1;
00477 /* workaround for bug in old zwrite */
00478 if (notice_fields[notice_fields_length - 1] == '\0')
00479 number_of_fields--;
00480 var_set_variable_to_number("number_of_fields", number_of_fields);
00481
00482 clear_buffer();
00483 (void) exec_subtree(program);
00484 }
|
| Last updated at Tue Dec 18 21:07:42 PST 2007. | This site and project hosted by... |