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
abbf4cfc
...
abbf4cfc6cd5449a483c66905fa53be16f8a5437
authored
2002-01-19 20:20:13 +0000
by
Sam Roberts
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
folder_has_debug(): there wasn't a way to see if folder had a debug object
1 parent
52941c39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
include/mailutils/folder.h
mailbox/folder.c
include/mailutils/folder.h
View file @
abbf4cf
...
...
@@ -82,6 +82,9 @@ extern int folder_set_stream __P ((folder_t, stream_t));
/* Notifications. */
extern
int
folder_get_observable
__P
((
folder_t
,
observable_t
*
));
/* Debug. */
extern
int
folder_has_debug
__P
((
folder_t
folder
));
extern
int
folder_get_debug
__P
((
folder_t
,
mu_debug_t
*
));
extern
int
folder_set_debug
__P
((
folder_t
,
mu_debug_t
));
...
...
@@ -93,7 +96,8 @@ extern int folder_set_authority __P ((folder_t, authority_t));
extern
int
folder_get_url
__P
((
folder_t
,
url_t
*
));
extern
int
folder_set_url
__P
((
folder_t
,
url_t
));
extern
int
folder_decremente
__P
((
folder_t
));
/* FIXME: not implemented */
extern
int
folder_decrement
__P
((
folder_t
));
#ifdef __cplusplus
...
...
mailbox/folder.c
View file @
abbf4cf
...
...
@@ -277,6 +277,15 @@ folder_get_observable (folder_t folder, observable_t *pobservable)
}
int
folder_has_debug
(
folder_t
folder
)
{
if
(
folder
==
NULL
)
return
0
;
return
folder
->
debug
?
1
:
0
;
}
int
folder_set_debug
(
folder_t
folder
,
mu_debug_t
debug
)
{
if
(
folder
==
NULL
)
...
...
Please
register
or
sign in
to post a comment