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
b668931a
...
b668931a2b516f6e97baae8c390a24c7f43c03a6
authored
2005-09-29 11:10:49 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor stylistic changes
1 parent
c976a20f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
include/mailutils/iterator.h
mailbox/iterator.c
mailbox/wicket.c
mh/mhn.c
include/mailutils/iterator.h
View file @
b668931
...
...
@@ -44,9 +44,9 @@ extern int mu_iterator_set_getitem (mu_iterator_t,
extern
int
mu_iterator_set_finished_p
(
mu_iterator_t
,
int
(
*
finished_p
)
(
void
*
));
extern
int
mu_iterator_set_dup
(
mu_iterator_t
itr
,
int
(
dup
)
(
void
**
ptr
,
void
*
data
));
int
(
*
dup
)
(
void
**
ptr
,
void
*
data
));
extern
int
mu_iterator_set_destroy
(
mu_iterator_t
itr
,
int
(
destroy
)
(
mu_iterator_t
,
void
*
data
));
int
(
*
destroy
)
(
mu_iterator_t
,
void
*
data
));
extern
int
mu_iterator_set_curitem_p
(
mu_iterator_t
itr
,
int
(
*
curitem_p
)
(
void
*
,
void
*
));
...
...
mailbox/iterator.c
View file @
b668931
...
...
@@ -90,7 +90,7 @@ mu_iterator_set_curitem_p (mu_iterator_t itr,
}
int
mu_iterator_set_destroy
(
mu_iterator_t
itr
,
int
(
destroy
)
(
mu_iterator_t
,
void
*
))
mu_iterator_set_destroy
(
mu_iterator_t
itr
,
int
(
*
destroy
)
(
mu_iterator_t
,
void
*
))
{
if
(
!
itr
)
return
EINVAL
;
...
...
@@ -99,7 +99,7 @@ mu_iterator_set_destroy (mu_iterator_t itr, int (destroy) (mu_iterator_t, void *
}
int
mu_iterator_set_dup
(
mu_iterator_t
itr
,
int
(
dup
)
(
void
**
ptr
,
void
*
data
))
mu_iterator_set_dup
(
mu_iterator_t
itr
,
int
(
*
dup
)
(
void
**
ptr
,
void
*
data
))
{
if
(
!
itr
)
return
EINVAL
;
...
...
mailbox/wicket.c
View file @
b668931
...
...
@@ -116,8 +116,8 @@ mu_wicket_set_filename (mu_wicket_t wicket, const char *filename)
}
int
mu_wicket_set_ticket
(
mu_wicket_t
wicket
,
int
get_ticket
(
mu_wicket_t
,
const
char
*
,
const
char
*
,
mu_ticket_t
*
))
mu_wicket_set_ticket
(
mu_wicket_t
wicket
,
int
(
*
get_ticket
)
(
mu_wicket_t
,
const
char
*
,
const
char
*
,
mu_ticket_t
*
))
{
if
(
wicket
==
NULL
)
return
EINVAL
;
...
...
mh/mhn.c
View file @
b668931
...
...
@@ -1109,7 +1109,7 @@ mhn_message_size (mu_message_t msg, size_t *psize)
_get_content_encoding
(
hdr
,
&
encoding
);
rc
=
mu_filter_create
(
&
dstr
,
bstr
,
encoding
,
MU_FILTER_DECODE
,
MU_STREAM_READ
);
MU_FILTER_DECODE
,
MU_STREAM_READ
);
free
(
encoding
);
if
(
rc
==
0
)
{
...
...
@@ -2025,7 +2025,7 @@ finish_text_msg (struct compose_env *env, mu_message_t *msg, int ascii)
mu_message_get_body
(
*
msg
,
&
body
);
mu_body_get_stream
(
body
,
&
input
);
rc
=
mu_filter_create
(
&
fstr
,
input
,
"quoted-printable"
,
MU_FILTER_ENCODE
,
MU_STREAM_READ
);
MU_FILTER_ENCODE
,
MU_STREAM_READ
);
if
(
rc
==
0
)
{
cat_message
(
output
,
fstr
);
...
...
Please
register
or
sign in
to post a comment