Removed the register/callback stuff from serv_smtp.c , it added more complexity than...
[citadel.git] / citadel / modules / smtp / smtp_util.h
index 4f9b1d01194b832bb1f7babc04f37023925e8462..ea2433c7992f1129e92db1230a5eab692acccd26 100644 (file)
@@ -13,7 +13,7 @@
 
 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;
@@ -28,9 +28,9 @@ typedef struct _citsmtp {             /* Information about the current session */
        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 {