1 #ifndef _RECIPIENT_LIST_H_INCLUDED_
2 #define _RECIPIENT_LIST_H_INCLUDED_
36 #define RECIPIENT_ASSIGN(rcpt, offs, orcpt, notify, orig, addr) do { \
37 (rcpt)->offset = (offs); \
38 (rcpt)->dsn_orcpt = (orcpt); \
39 (rcpt)->dsn_notify = (notify); \
40 (rcpt)->orig_addr = (orig); \
41 (rcpt)->address = (addr); \
42 (rcpt)->u.status = (0); \
45 #define RECIPIENT_UPDATE(ptr, new) do { \
46 myfree((char *) (ptr)); (ptr) = mystrdup(new); \
61 #define RCPT_LIST_INIT_STATUS 1
62 #define RCPT_LIST_INIT_QUEUE 2
63 #define RCPT_LIST_INIT_ADDR 3
void recipient_list_init(RECIPIENT_LIST *, int)
void recipient_list_free(RECIPIENT_LIST *)
void recipient_list_add(RECIPIENT_LIST *, long, const char *, int, const char *, const char *)
struct RECIPIENT_LIST RECIPIENT_LIST
void recipient_list_swap(RECIPIENT_LIST *, RECIPIENT_LIST *)
struct RECIPIENT RECIPIENT
struct QMGR_QUEUE * queue