Next: , Previous: Memory Allocation, Up: libsieve


3.4.6 Compiling and Executing the Script

— Function: int mu_sieve_compile (mu_sieve_machine_t mach, const char *name)

Compile the sieve script from the file name.

— Function: int mu_sieve_mailbox (mu_sieve_machine_t mach, mu_mailbox_t mbox)

Execute the code from the given instance of sieve machine mach over each message in the mailbox mbox.

— Function: int mu_sieve_message (mu_sieve_machine_t mach, mu_message_t message)

Execute the code from the given instance of sieve machine mach over the message.

— Function: int mu_sieve_disass (mu_sieve_machine_t mach)

Dump the disassembled code of the sieve machine mach.