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
c2e27396
...
c2e27396468854a79422c94dba9f4bf2aadc3c36
authored
2003-09-20 15:37:23 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mh_set_reply_regex): New function.
1 parent
737e2f6e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
mh/mh.h
mh/mh_init.c
mh/mh.h
View file @
c2e2739
...
...
@@ -313,6 +313,7 @@ int mh_file_copy __P((const char *from, const char *to));
char
*
mh_draft_name
__P
((
void
));
char
*
mh_create_message_id
__P
((
int
));
int
mh_whom
__P
((
char
*
filename
,
int
check
));
void
mh_set_reply_regex
__P
((
const
char
*
str
));
int
mh_alias_read
__P
((
char
*
name
,
int
fail
));
int
mh_alias_get
__P
((
char
*
name
,
list_t
*
return_list
));
...
...
mh/mh_init.c
View file @
c2e2739
...
...
@@ -795,3 +795,14 @@ mh_create_message_id (int subpart)
free
(
host
);
return
p
;
}
void
mh_set_reply_regex
(
const
char
*
str
)
{
char
*
err
;
int
rc
=
munre_set_regex
(
str
,
0
,
&
err
);
if
(
rc
)
mh_error
(
"reply_regex: %s%s%s"
,
mu_strerror
(
rc
),
err
?
": "
:
""
,
err
?
err
:
""
);
}
...
...
Please
register
or
sign in
to post a comment