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
b124ec08
...
b124ec08e0cba333ec21b02e9a4e1ae6353ffc4b
authored
2002-11-19 14:03:16 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(sieve_message): New function.
1 parent
e2e5a903
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
libsieve/runtime.c
libsieve/runtime.c
View file @
b124ec0
...
...
@@ -323,3 +323,20 @@ sieve_mailbox (sieve_machine_t mach, mailbox_t mbox)
return
rc
;
}
int
sieve_message
(
sieve_machine_t
mach
,
message_t
msg
)
{
int
rc
;
if
(
!
mach
||
!
msg
)
return
EINVAL
;
mach
->
msgno
=
1
;
mach
->
msg
=
msg
;
mach
->
mailbox
=
NULL
;
rc
=
sieve_run
(
mach
);
mach
->
msg
=
NULL
;
return
rc
;
}
...
...
Please
register
or
sign in
to post a comment