/*
 *  Delivery Agent API Mappings to ISOCOR N-Plex IMDA API
 *
 *  $Header:$
 */

#ifndef __DAA_IMDA_H__
	#define __DAA_IMDA_H__


#include "imda.h"


/* define the mappings between the DAA types and the IMDA types */

#define ll_LineT                   line
#define ll_Line                    Line
#define ll_Lines                   Lines
#define rfc821_name                name
#define ll_recipT                  rec
#define ll_recips                  recq
#define daa_msg                    msg
#define Context					   IMDA

#define DAA_parse_next_rfc821_address  IMDA_parse_next_rfc821_address
#define DAA_get_next_rfc822_header     IMDA_get_next_rfc822_header
#define DAA_get_rfc822_header          IMDA_get_rfc822_header

#define msg_size                   message_size
#define msg_orig                   originator
#define msg_recip                  recipient
#define envID                      envid
#define retExt                     retext

#define DAA_IM_DELIVER             IMDA_IM_DELIVER
#define DAA_DELIVER                IMDA_DELIVER
#define DAA_DISCARD                IMDA_DISCARD
#define DAA_BAD_MESSAGE            IMDA_BAD_MESSAGE



#endif /* __DAA_IMDA_H__ */