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
11a83f4b
...
11a83f4b1a69d3d5962a5df20fb61b9fce3822d6
authored
2005-11-15 15:14:10 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mu_is_proto): New function.
1 parent
4844a09b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
include/mailutils/mutil.h
mailbox/mutil.c
include/mailutils/mutil.h
View file @
11a83f4
...
...
@@ -140,6 +140,8 @@ extern int mu_decode_filter (mu_stream_t *pfilter, mu_stream_t input,
extern
enum
mu_iconv_fallback_mode
mu_default_fallback_mode
;
extern
int
mu_set_default_fallback
(
const
char
*
str
);
extern
int
mu_is_proto
(
const
char
*
p
);
#ifdef __cplusplus
}
#endif
...
...
mailbox/mutil.c
View file @
11a83f4
...
...
@@ -1293,3 +1293,13 @@ mu_decode_filter (mu_stream_t *pfilter, mu_stream_t input,
*
pfilter
=
filter
;
return
0
;
}
int
mu_is_proto
(
const
char
*
p
)
{
for
(;
*
p
&&
*
p
!=
'/'
;
p
++
)
if
(
*
p
==
':'
)
return
1
;
return
0
;
}
...
...
Please
register
or
sign in
to post a comment