Node:Compiling and Executing the Script, Previous:Memory Allocation, Up:Library Description



Compiling and Executing the Script

int sieve_compile (sieve_machine_t mach, const char *name) Function
Compile the sieve script from the file name.

int sieve_mailbox (sieve_machine_t mach, mailbox_t mbox) Function
Execute the code from the given instance of sieve machine mach over each message in the mailbox mbox.

int sieve_message (sieve_machine_t mach, message_t message) Function
Execute the code from the given instance of sieve machine mach over the message.

int sieve_disass (sieve_machine_t mach) Function
Dump the disassembled code of the sieve machine mach.