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
7a55b13c
...
7a55b13c99b2fcb5558f797b14167ea02680a3ee
authored
2006-02-07 13:52:26 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mu_sieve_machine_inherit_report): Replace by mu_sieve_machine_inherit
1 parent
3a24a07c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
include/mailutils/libsieve.h
libsieve/sieve.y
include/mailutils/libsieve.h
View file @
7a55b13
...
...
@@ -205,8 +205,8 @@ int mu_sieve_vlist_compare (mu_sieve_value_t * a, mu_sieve_value_t * b,
int
mu_sieve_machine_init
(
mu_sieve_machine_t
*
mach
,
void
*
data
);
int
mu_sieve_machine_dup
(
mu_sieve_machine_t
const
in
,
mu_sieve_machine_t
*
out
);
void
mu_sieve_machine_inherit_report
(
mu_sieve_machine_t
child
,
mu_sieve_machine_t
paren
t
);
int
mu_sieve_machine_inherit
(
mu_sieve_machine_t
const
in
,
mu_sieve_machine_t
*
ou
t
);
void
mu_sieve_machine_destroy
(
mu_sieve_machine_t
*
pmach
);
int
mu_sieve_machine_add_destructor
(
mu_sieve_machine_t
mach
,
mu_sieve_destructor_t
destr
,
void
*
ptr
);
...
...
libsieve/sieve.y
View file @
7a55b13
...
...
@@ -368,14 +368,22 @@ mu_sieve_machine_init (mu_sieve_machine_t *pmach, void *data)
return 0;
}
void
mu_sieve_machine_inherit
_report (mu_sieve_machine_t child
,
mu_sieve_machine_t parent
)
int
mu_sieve_machine_inherit
(mu_sieve_machine_t const parent
,
mu_sieve_machine_t *pmach
)
{
mu_sieve_machine_t child;
int rc;
rc = mu_sieve_machine_init (&child, parent->data);
if (rc)
return rc;
child->logger = parent->logger;
child->debug = parent->debug;
child->debug_level = parent->debug_level;
child->debug_printer = parent->debug_printer;
*pmach = child;
return 0;
}
int
...
...
Please
register
or
sign in
to post a comment