diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-01-21 15:02:38 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-01-21 15:02:38 +0000 |
commit | d81db5aec3ccb49aa16fe5a867c18e382b4c10ba (patch) | |
tree | b29d9416bdb66b1f67691f3099b821f5f2de0195 /libmu_scm | |
parent | de42777f2a892f0500c71bd00b145dbe1c66977a (diff) | |
download | mailutils-d81db5aec3ccb49aa16fe5a867c18e382b4c10ba.tar.gz mailutils-d81db5aec3ccb49aa16fe5a867c18e382b4c10ba.tar.bz2 |
Added proto for mu_process_mailbox.
Diffstat (limited to 'libmu_scm')
-rw-r--r-- | libmu_scm/mu_scm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libmu_scm/mu_scm.h b/libmu_scm/mu_scm.h index bb2e0da87..6295f8435 100644 --- a/libmu_scm/mu_scm.h +++ b/libmu_scm/mu_scm.h @@ -37,6 +37,19 @@ #include <libguile.h> +typedef struct +{ + int debug_guile; + mailbox_t mbox; + char *user_name; + int (*init) __P((void *data)); + SCM (*catch_body) __P((void *data, mailbox_t mbox)); + SCM (*catch_handler) __P((void *data, SCM tag, SCM throw_args)); + int (*next) __P((void *data, mailbox_t mbox)); + int (*exit) __P((void *data, mailbox_t mbox)); + void *data; +} guimb_param_t; + extern SCM _mu_scm_mailer; extern SCM _mu_scm_debug; @@ -64,3 +77,5 @@ extern SCM mu_port_make_from_stream __P((SCM msg, stream_t stream, long mode)); extern void mu_scm_mime_init __P((void)); extern void mu_scm_message_add_owner __P((SCM MESG, SCM owner)); + +extern void mu_process_mailbox __P((int argc, char *argv[], guimb_param_t *param)); |