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
a66f3018
...
a66f3018b4eb999921a5ac99e3bc1b7b727e8fbb
authored
2002-08-04 08:17:28 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(MU_ATTRIBUTE_IS_UNSEEN,MU_ATTRIBUTE_IS_UNREAD) New macros.
1 parent
8b0b30ef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
include/mailutils/attribute.h
include/mailutils/attribute.h
View file @
a66f301
...
...
@@ -31,7 +31,18 @@ extern "C" {
#define MU_ATTRIBUTE_SEEN 0x10
#define MU_ATTRIBUTE_READ 0x20
#define MU_ATTRIBUTE_MODIFIED 0x40
#define MU_ATTRIBUTE_RECENT 0x00
/* A message is recent if the current session is the first session
to have been notified about it. Practically, a message is considered
"recent" if it does not have MU_ATTRIBUTE_SEEN set. For consistency
a pseudo-attribute is provided: */
#define MU_ATTRIBUTE_RECENT 0
#define MU_ATTRIBUTE_IS_UNSEEN(f) \
((f) == 0 || ! ((f) & MU_ATTRIBUTE_SEEN))
#define MU_ATTRIBUTE_IS_UNREAD(f) \
((f) == 0 || ! ((f) & MU_ATTRIBUTE_READ))
extern
int
attribute_create
__P
((
attribute_t
*
,
void
*
));
extern
void
attribute_destroy
__P
((
attribute_t
*
,
void
*
));
...
...
Please
register
or
sign in
to post a comment