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
c4658659
...
c46586597b134e87d520af4b399c47ac9e074f96
authored
2001-08-03 19:01:59 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added mu-mailbox-get-url.
1 parent
1dca1a5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
libmu_scm/mu_mailbox.c
libmu_scm/mu_mailbox.c
View file @
c465865
...
...
@@ -156,6 +156,21 @@ SCM_DEFINE (mu_mailbox_close, "mu-mailbox-close", 1, 0, 0,
}
#undef FUNC_NAME
SCM_DEFINE
(
mu_mailbox_get_url
,
"mu-mailbox-get-url"
,
1
,
0
,
0
,
(
SCM
MBOX
),
"Returns the URL of the mailbox."
)
#define FUNC_NAME s_mu_mailbox_get_url
{
struct
mu_mailbox
*
mum
;
url_t
url
;
SCM_ASSERT
(
mu_scm_is_mailbox
(
MBOX
),
MBOX
,
SCM_ARG1
,
FUNC_NAME
);
mum
=
(
struct
mu_mailbox
*
)
SCM_CDR
(
MBOX
);
mailbox_get_url
(
mum
->
mbox
,
&
url
);
return
scm_makfrom0str
(
url_to_string
(
url
));
}
#undef FUNC_NAME
SCM_DEFINE
(
mu_mailbox_get_message
,
"mu-mailbox-get-message"
,
2
,
0
,
0
,
(
SCM
MBOX
,
SCM
MSGNO
),
"Retrieve from MBOX message # MSGNO."
)
#define FUNC_NAME s_mu_mailbox_get_message
...
...
Please
register
or
sign in
to post a comment