home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / doc / manual / volume2 / adrstruct.h next >
Encoding:
Text File  |  1991-11-19  |  3.5 KB  |  127 lines

  1. typedef struct ad_redirection {
  2.     struct ad_redirection *rd_next;
  3.     char    *rd_addr;    /* O/R Name */
  4.     char    *rd_dn;        /* Distinguished Name */
  5.     UTC    rd_time;
  6.     int    rd_reason;
  7. } Redirection;
  8.  
  9. typedef struct    adr_struct {
  10.     int        ad_no;        /* recipient number */
  11.                     /* PP's key to this adr */
  12.  
  13.                     /* Next 3 parms may be modfiied */
  14.                     /* in Q.  Fixed text encoding */
  15.     int        ad_status;    /* recipient status */
  16.     int        ad_rcnt;    /* reformatters done count  */
  17.  
  18.     /* -- MTS Service Parms */
  19.  
  20.     char        *ad_value;    /* address-original */
  21.     char        *ad_dn;        /* Directory Distinguished Name */
  22.                     /* QUIPU string encoding */
  23.  
  24.     int        ad_usrreq;    /* user-report-request bit */
  25.     int        ad_explicitconversion;    /* explicit conversion */
  26.     int        ad_type;    /* address-type */
  27.  
  28.     char        *ad_orig_req_alt; /* originator requested alternate */
  29.                     /* recipient - std encoded */
  30.     char        ad_orig_req_alt_crit;
  31.  
  32. #define AD_RDM_MAX    4
  33.     int        ad_req_del[AD_RDM_MAX];    /* requested delivery method */
  34.     char        ad_req_del_crit;
  35.  
  36.     char        ad_phys_forward; /* boolean - is physical     */
  37.                     /* forwarding allowed */
  38.     char        ad_phys_forward_crit;
  39.  
  40.     char        ad_phys_fw_ad_req;
  41.     char        ad_phys_fw_ad_crit;
  42.                     /* boolean - request for phys */
  43.                     /* foward address */
  44.  
  45.     int        ad_phys_modes;
  46.     char        ad_phys_modes_crit;
  47.                     
  48.     int        ad_reg_mail_type;
  49.     char        ad_reg_mail_type_crit;
  50.     char        *ad_recip_number_for_advice;
  51.     char        ad_recip_number_for_advice_crit;
  52.  
  53.     OID        ad_phys_rendition_attribs;
  54.     char        ad_phys_rendition_attribs_crit;
  55.     
  56.     int        ad_pd_report_request;
  57.     char        ad_pd_report_request_crit;
  58.     Redirection    *ad_redirection_history;
  59.     char        ad_redirection_history_crit;
  60.  
  61.     struct qbuf    *ad_message_token;
  62.     char        ad_message_token_crit;
  63.  
  64.     struct qbuf    *ad_content_integrity;
  65.     char        ad_content_integrity_crit;
  66.  
  67.     int         ad_proof_delivery;
  68.     char        ad_proof_delivery_crit;
  69.                 /* boolean.  Is proof of delivery */
  70.                 /* requested */
  71.  
  72.     /* -- MTA Service Params (calculated for MTS AS) */
  73.     
  74.     int        ad_extension;    /* extension-id */
  75.     int        ad_resp;    /* responsibility bit */
  76.     int        ad_mtarreq;    /* mta-report-request bit */
  77.     int        ad_subtype;    /* address-subtype */
  78.  
  79.  
  80.     X400_Extension    *ad_per_recip_ext_list;
  81.                     /* bucket for new and private */
  82.                     /* odds and sods */
  83.  
  84.     /* -- parameters calculated by PP -- */
  85.     /* -- Note: the outbound mta is held in ad_outchan -- */
  86.  
  87.     char        *ad_r400adr;    /* x400-addr */
  88.     char        *ad_r822adr;    /* rfc-addr */
  89.     
  90.     /* -- should only be set for inbound x400 channels -- */
  91.     char        *ad_r400orig;    /* original form of x400 address */
  92.  
  93.     /* -- next two should only be set for -- */
  94.     /* -- unroutable originator addresses -- */
  95.     char        *ad_r400DR;    /* x400 address for DRs */
  96.     char        *ad_r822DR;    /* 822 address for DRs */
  97.  
  98.     char        *ad_content;    /* outgoing content type */
  99.  
  100.     LIST_RCHAN    *ad_fmtchan;    /* reformatting channels */
  101.     LIST_RCHAN    *ad_outchan;    /* outbound channel structure */
  102.     LIST_BPT    *ad_eit;    /* outgoing eit's */
  103.  
  104.  
  105.     /* -- from here onwards extra PP specific info -- */
  106.     /* -- Diagnostics for any address parsing failures -- */
  107.  
  108.     int        ad_parse_stat;    /* address parsing err status */
  109.     char        *ad_parse_message; /* address parsing err message */
  110.     int        ad_reason;    /* DR reason failure */
  111.     int        ad_diagnostic;    /* DR diagnostic code */
  112.     char        *ad_add_info;    /* DR supplementary info */
  113.  
  114.     Aparse        *aparse;    /* parsing bucket */
  115.  
  116.     /* -- Address Control File offsets for fixed length variables -- */
  117.  
  118.     off_t        ad_no_offset;    /* offset param for recip number */
  119.     off_t        ad_stat_offset; /* offset param for recip status */
  120.     off_t        ad_rcnt_offset; /* offset param for reformat next */
  121.  
  122.  
  123.     struct adr_struct   *ad_next;
  124. } ADDR;
  125.  
  126. #define NULLADDR ((ADDR *)0)
  127.