Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
d8f04cb7
...
d8f04cb71471e2fcd21611068fe6c1424a4ee1cc
authored
2002-11-14 07:15:12 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(struct sieve_machine): New members: filename, logger, ticket, mu_debug.
1 parent
75559f96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
libsieve/sieve.h
libsieve/sieve.h
View file @
d8f04cb
...
...
@@ -20,7 +20,7 @@
#define SIEVE_CODE_INCR 128
typedef
void
(
*
sieve_instr_t
)
__P
((
sieve_machine_t
*
mach
));
typedef
void
(
*
sieve_instr_t
)
__P
((
sieve_machine_t
mach
));
typedef
union
{
sieve_instr_t
instr
;
...
...
@@ -34,6 +34,7 @@ typedef union {
struct
sieve_machine
{
/* Static data */
char
*
filename
;
/* Name of the source script */
list_t
memory_pool
;
/* Pool of allocated memory objects */
size_t
progsize
;
/* Number of allocated program cells */
...
...
@@ -55,13 +56,16 @@ struct sieve_machine {
sieve_parse_error_t
parse_error_printer
;
sieve_printf_t
error_printer
;
sieve_printf_t
debug_printer
;
sieve_action_log_t
logger
;
ticket_t
ticket
;
mu_debug_t
mu_debug
;
void
*
data
;
};
extern
char
*
sieve_filename
;
extern
int
sieve_line_num
;
extern
int
sieve_yydebug
;
extern
sieve_machine_t
*
sieve_machine
;
extern
sieve_machine_t
sieve_machine
;
extern
int
sieve_error_count
;
void
sieve_compile_error
__P
((
const
char
*
filename
,
int
linenum
,
...
...
@@ -95,12 +99,14 @@ int sieve_code_number __P((long num));
int
sieve_code_test
__P
((
sieve_register_t
*
reg
,
list_t
arglist
));
int
sieve_code_action
__P
((
sieve_register_t
*
reg
,
list_t
arglist
));
void
instr_action
__P
((
sieve_machine_t
*
mach
));
void
instr_test
__P
((
sieve_machine_t
*
mach
));
void
instr_push
__P
((
sieve_machine_t
*
mach
));
void
instr_pop
__P
((
sieve_machine_t
*
mach
));
void
instr_allof
__P
((
sieve_machine_t
*
mach
));
void
instr_anyof
__P
((
sieve_machine_t
*
mach
));
void
instr_not
__P
((
sieve_machine_t
*
mach
));
void
instr_branch
__P
((
sieve_machine_t
*
mach
));
void
instr_brz
__P
((
sieve_machine_t
*
mach
));
void
instr_action
__P
((
sieve_machine_t
mach
));
void
instr_test
__P
((
sieve_machine_t
mach
));
void
instr_push
__P
((
sieve_machine_t
mach
));
void
instr_pop
__P
((
sieve_machine_t
mach
));
void
instr_allof
__P
((
sieve_machine_t
mach
));
void
instr_anyof
__P
((
sieve_machine_t
mach
));
void
instr_not
__P
((
sieve_machine_t
mach
));
void
instr_branch
__P
((
sieve_machine_t
mach
));
void
instr_brz
__P
((
sieve_machine_t
mach
));
int
sieve_mark_deleted
__P
((
message_t
msg
,
int
deleted
));
...
...
Please
register
or
sign in
to post a comment