1
#ifndef _RECIPIENT_LIST_H_INCLUDED_
2
#define _RECIPIENT_LIST_H_INCLUDED_
8
/* recipient list structures
10
/* #include <recipient_list.h>
15
* Information about a recipient is kept in this structure. The file offset
16
* tells us the position of the REC_TYPE_RCPT byte in the message queue
17
* file, This byte is replaced by REC_TYPE_DONE when the delivery status to
18
* that recipient is established.
20
typedef struct RECIPIENT {
21
long offset; /* REC_TYPE_RCPT byte */
22
char *orig_addr; /* null or original recipient */
23
char *address; /* complete address */
24
int status; /* Application specific. */
27
typedef struct RECIPIENT_LIST {
33
extern void recipient_list_init(RECIPIENT_LIST *);
34
extern void recipient_list_add(RECIPIENT_LIST *, long, const char *, const char *);
35
extern void recipient_list_free(RECIPIENT_LIST *);
40
/* The Secure Mailer license must be distributed with this software.
43
/* IBM T.J. Watson Research
45
/* Yorktown Heights, NY 10598, USA