]>
diplodocus.org Git - nmh/blob - h/aliasbr.h
1 /* aliasbr.h -- definitions for the aliasing system
5 extern char *AliasFile
; /* mh-alias(5) */
8 char *ak_name
; /* name to match against */
9 struct adr
*ak_addr
; /* list of addresses that it maps to */
10 struct aka
*ak_next
; /* next aka in list */
11 bool ak_visible
; /* should be visible in headers */
15 char *ad_text
; /* text of this address in list */
16 struct adr
*ad_next
; /* next adr in list */
17 char ad_local
; /* text is local (check for expansion) */
24 int akvisible (void) PURE
;
25 char *akresult (struct aka
*);
26 char *akvalue (char *);
29 /* codes returned by alias() */
31 #define AK_OK 0 /* file parsed OK */
32 #define AK_NOFILE 1 /* couldn't read file */
33 #define AK_ERROR 2 /* error parsing file */
34 #define AK_LIMIT 3 /* memory limit exceeded */