diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2005-01-02 23:49:58 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2005-01-02 23:49:58 -0500 |
commit | 1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f (patch) | |
tree | a83fd699321c8545516d56abcda6c9718fd1f4fb /src/LYMail.h | |
parent | bed9a2c79bfdde6e4ec89d9d02a5d6e88ae12f79 (diff) | |
download | lynx-snapshots-1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f.tar.gz |
snapshot of project "lynx", label v2-8-6dev_10
Diffstat (limited to 'src/LYMail.h')
-rw-r--r-- | src/LYMail.h | 53 |
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 */ |