1 /*
2  *  Delivery Agent API Mappings to ISOCOR N-Plex IMDA API
3  *
4  *  $Header:$
5  */
6 
7 #ifndef __DAA_IMDA_H__
8 	#define __DAA_IMDA_H__
9 
10 
11 #include "imda.h"
12 
13 
14 /* define the mappings between the DAA types and the IMDA types */
15 
16 #define ll_LineT                   line
17 #define ll_Line                    Line
18 #define ll_Lines                   Lines
19 #define rfc821_name                name
20 #define ll_recipT                  rec
21 #define ll_recips                  recq
22 #define daa_msg                    msg
23 #define Context					   IMDA
24 
25 #define DAA_parse_next_rfc821_address  IMDA_parse_next_rfc821_address
26 #define DAA_get_next_rfc822_header     IMDA_get_next_rfc822_header
27 #define DAA_get_rfc822_header          IMDA_get_rfc822_header
28 
29 #define msg_size                   message_size
30 #define msg_orig                   originator
31 #define msg_recip                  recipient
32 #define envID                      envid
33 #define retExt                     retext
34 
35 #define DAA_IM_DELIVER             IMDA_IM_DELIVER
36 #define DAA_DELIVER                IMDA_DELIVER
37 #define DAA_DISCARD                IMDA_DISCARD
38 #define DAA_BAD_MESSAGE            IMDA_BAD_MESSAGE
39 
40 
41 
42 #endif /* __DAA_IMDA_H__ */