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
013fb513
...
013fb5136383e83c2a9e716db52ef33156a11d30
authored
2002-10-14 17:48:52 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(mu-path-maildir, mu-path-folder-dir): New globals
1 parent
c6e736c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
libmu_scm/mailutils.scm.in
libmu_scm/mu_scm.c
libmu_scm/mailutils.scm.in
View file @
013fb51
...
...
@@ -33,9 +33,12 @@ changequote([,])dnl
(
load-extension
"libguile-mailutils-v-VERSION"
"mu_scm_init"
))))
(
export
mu-package
)
(
export
mu-package-string
)
(
export
mu-version
)
(
export
mu-mailer
)
(
export
mu-debug
)
(
export
mu-path-maildir
)
(
export
mu-path-folder-dir
)
(
export
MU-ATTRIBUTE-ANSWERED
)
(
export
MU-ATTRIBUTE-FLAGGED
)
...
...
libmu_scm/mu_scm.c
View file @
013fb51
...
...
@@ -52,6 +52,8 @@ SCM _mu_scm_package; /* STRING: PACKAGE */
SCM
_mu_scm_version
;
/* STRING: VERSION */
SCM
_mu_scm_mailer
;
/* STRING: Default mailer path. */
SCM
_mu_scm_debug
;
/* NUM: Default debug level. */
SCM
_mu_scm_path_maildir
;
/* STRING: mu_path_maildir */
SCM
_mu_scm_path_folder_dir
;
/* STRING: mu_path_folder_dir */
struct
format_record
{
char
*
name
;
...
...
@@ -183,6 +185,12 @@ mu_scm_init ()
_mu_scm_package_string
=
scm_makfrom0str
(
PACKAGE_STRING
);
mu_set_variable
(
"mu-package-string"
,
_mu_scm_package_string
);
_mu_scm_path_maildir
=
scm_makfrom0str
(
mu_path_maildir
);
mu_set_variable
(
"mu-path-maildir"
,
_mu_scm_path_maildir
);
_mu_scm_path_folder_dir
=
scm_makfrom0str
(
mu_path_folder_dir
);
mu_set_variable
(
"mu-path-folder-dir"
,
_mu_scm_path_folder_dir
);
/* Create MU- attribute names */
for
(
i
=
0
;
attr_kw
[
i
].
name
;
i
++
)
scm_c_define
(
attr_kw
[
i
].
name
,
SCM_MAKINUM
(
attr_kw
[
i
].
value
));
...
...
Please
register
or
sign in
to post a comment