Commit c5aa7429 c5aa7429ee7fe749f839cd899cf7de8e6cc18967 by Sergey Poznyakoff

Added new declarations.

1 parent c6f403cd
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
35 #include <mailutils/registrar.h> 35 #include <mailutils/registrar.h>
36 36
37 #include <libguile.h> 37 #include <libguile.h>
38 #include <mu_scm.h>
38 39
39 extern char *program_file; 40 extern char *program_file;
40 extern char *program_expr; 41 extern char *program_expr;
...@@ -45,7 +46,9 @@ extern size_t nmesg; ...@@ -45,7 +46,9 @@ extern size_t nmesg;
45 extern size_t current_mesg_no; 46 extern size_t current_mesg_no;
46 extern message_t current_message; 47 extern message_t current_message;
47 extern int debug_guile; 48 extern int debug_guile;
49 extern char *maildir;
48 50
51 void collect_open_default __P((void));
49 void collect_open_mailbox_file __P ((void)); 52 void collect_open_mailbox_file __P ((void));
50 int collect_append_file __P ((char *name)); 53 int collect_append_file __P ((char *name));
51 void collect_create_mailbox __P ((void)); 54 void collect_create_mailbox __P ((void));
...@@ -54,3 +57,13 @@ int collect_output (void); ...@@ -54,3 +57,13 @@ int collect_output (void);
54 57
55 void util_error (char *fmt, ...); 58 void util_error (char *fmt, ...);
56 int util_tempfile (char **namep); 59 int util_tempfile (char **namep);
60
61 struct guimb_data
62 {
63 char *program_file;
64 char *program_expr;
65 };
66
67 SCM guimb_catch_body (void *data, mailbox_t unused);
68 SCM guimb_catch_handler (void *unused, SCM tag, SCM throw_args);
69 int guimb_exit (void *unused1, mailbox_t unused2);
......