projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the register/callback stuff from serv_smtp.c , it added more complexity than...
[citadel.git]
/
citadel
/
modules
/
smtp
/
smtp_util.h
diff --git
a/citadel/modules/smtp/smtp_util.h
b/citadel/modules/smtp/smtp_util.h
index 4f9b1d01194b832bb1f7babc04f37023925e8462..ea2433c7992f1129e92db1230a5eab692acccd26 100644
(file)
--- a/
citadel/modules/smtp/smtp_util.h
+++ b/
citadel/modules/smtp/smtp_util.h
@@
-13,7
+13,7
@@
const char *smtp_get_Recipients(void);
const char *smtp_get_Recipients(void);
-
typedef struct _citsmtp {
/* Information about the current session */
+
struct citsmtp {
/* Information about the current session */
int command_state;
StrBuf *Cmd;
StrBuf *helo_node;
int command_state;
StrBuf *Cmd;
StrBuf *helo_node;
@@
-28,9
+28,9
@@
typedef struct _citsmtp { /* Information about the current session */
int is_msa;
StrBuf *preferred_sender_email;
StrBuf *preferred_sender_name;
int is_msa;
StrBuf *preferred_sender_email;
StrBuf *preferred_sender_name;
-}
citsmtp
;
+};
-#define SMTP ((citsmtp *)CC->session_specific_data)
+#define SMTP ((
struct
citsmtp *)CC->session_specific_data)
// These are all the values that can be passed to the is_final parameter of smtp_do_bounce()
enum {
// These are all the values that can be passed to the is_final parameter of smtp_do_bounce()
enum {