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
8247640c
...
8247640c2c167532db34d5d79b1359865bf66997
authored
2006-02-06 11:50:13 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mu_mh_delim): New function
1 parent
d31af55c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletions
include/mailutils/mutil.h
mailbox/mutil.c
include/mailutils/mutil.h
View file @
8247640
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2004, 2005,
2006 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -141,6 +142,8 @@ 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
);
extern
int
mu_mh_delim
(
const
char
*
str
);
#ifdef __cplusplus
}
...
...
mailbox/mutil.c
View file @
8247640
...
...
@@ -1334,6 +1334,19 @@ mu_is_proto (const char *p)
return
0
;
}
int
mu_mh_delim
(
const
char
*
str
)
{
if
(
str
[
0
]
==
'-'
)
{
for
(;
*
str
==
'-'
;
str
++
)
;
for
(;
*
str
==
' '
||
*
str
==
'\t'
;
str
++
)
;
}
return
str
[
0
]
==
'\n'
;
}
char
*
__argp_base_name
(
const
char
*
arg
)
{
...
...
Please
register
or
sign in
to post a comment