about summary refs log tree commit diff stats
path: root/src/LYMail.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYMail.h')
-rw-r--r--src/LYMail.h53
1 files changed, 28 insertions, 25 deletions
diff --git a/src/LYMail.h b/src/LYMail.h
index b9baf792..7e58bbf7 100644
--- a/src/LYMail.h
+++ b/src/LYMail.h
@@ -5,18 +5,19 @@
 #include <LYStructs.h>
 #endif /* LYSTRUCTS_H */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 #ifdef SH_EX
 #define USE_BLAT_MAILER 1
 #else
 #define USE_BLAT_MAILER 0
 #endif
-
 #ifdef VMS
 #define USE_VMS_MAILER 1
 #else
 #define USE_VMS_MAILER 0
 #endif
-
 /*
  * Ifdef's in case we have a working popen/pclose, useful for piping to the
  * mail program.
@@ -26,28 +27,30 @@
 #else
 #define CAN_PIPE_TO_MAILER 1
 #endif
+    extern BOOLEAN term_letter;
 
-extern BOOLEAN term_letter;
+    extern BOOLEAN LYSystemMail(void);
+    extern BOOLEAN LYMailPMDF(void);
+    extern FILE *LYPipeToMailer(void);
+    extern int LYSendMailFile(char *the_address,
+			      char *the_filename,
+			      char *the_subject,
+			      char *the_ccaddr,
+			      char *message);
+    extern void mailform(const char *mailto_address,
+			 const char *mailto_subject,
+			 const char *mailto_content,
+			 const char *mailto_type);
+    extern void mailmsg(int cur,
+			char *owner_address,
+			char *filename,
+			char *linkname);
+    extern void reply_by_mail(char *mail_address,
+			      char *filename,
+			      const char *title,
+			      const char *refid);
 
-extern BOOLEAN LYSystemMail(void);
-extern BOOLEAN LYMailPMDF(void);
-extern FILE *LYPipeToMailer(void);
-extern int LYSendMailFile(char *the_address,
-			  char *the_filename,
-			  char *the_subject,
-			  char *the_ccaddr,
-			  char *message);
-extern void mailform(const char *mailto_address,
-		     const char *mailto_subject,
-		     const char *mailto_content,
-		     const char *mailto_type);
-extern void mailmsg(int cur,
-		    char *owner_address,
-		    char *filename,
-		    char *linkname);
-extern void reply_by_mail(char *mail_address,
-			  char *filename,
-			  const char *title,
-			  const char *refid);
-
-#endif /* LYMAIL_H */
+#ifdef __cplusplus
+}
+#endif
+#endif				/* LYMAIL_H */
-0400 committer Drew DeVault <sir@cmpwn.com> 2019-05-22 11:13:55 -0400 Implement opening tutorial after account wizard' href='/akspecs/aerc/commit/doc/aerc-tutorial.7.scd?h=0.5.2&id=58bc15b4727c034f9ce656f7774d68ec2e7a3f55'>58bc15b ^
58a0f43 ^
58bc15b ^


58a0f43 ^
58bc15b ^

58a0f43 ^
58bc15b ^







14d58c2 ^

062f00e ^
432d2b1 ^
58bc15b ^



c4c8648 ^


58bc15b ^



















































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155