X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Faliasbr.h;h=aa38c42c026ffadc7513e219247ec42a4ae65010;hp=cc4da7fee7baaf8ec14761a3a034592788e78f78;hb=a485ed478abbd599d8c9aab48934e7a26733ecb1;hpb=f480c03187724e54e5391ee61b810827da319a6c diff --git a/h/aliasbr.h b/h/aliasbr.h index cc4da7f..aa38c42 100644 --- a/h/aliasbr.h +++ b/h/aliasbr.h @@ -1,38 +1,36 @@ - /* * aliasbr.h -- definitions for the aliasing system - * */ -extern char *AliasFile; /* mh-alias(5) */ -#define PASSWD "/etc/passwd" /* passwd(5) */ -#define GROUP "/etc/group" /* group(5) */ -#define EVERYONE 200 /* lowest uid for everyone */ +extern char *AliasFile; /* mh-alias(5) */ +#define PASSWD "/etc/passwd" /* passwd(5) */ +#define GROUP "/etc/group" /* group(5) */ +#define EVERYONE 200 /* lowest uid for everyone */ struct aka { - char *ak_name; /* name to match against */ - struct adr *ak_addr; /* list of addresses that it maps to */ - struct aka *ak_next; /* next aka in list */ - char ak_visible; /* should be visible in headers */ + char *ak_name; /* name to match against */ + struct adr *ak_addr; /* list of addresses that it maps to */ + struct aka *ak_next; /* next aka in list */ + char ak_visible; /* should be visible in headers */ }; struct adr { - char *ad_text; /* text of this address in list */ - struct adr *ad_next; /* next adr in list */ - char ad_local; /* text is local (check for expansion) */ + char *ad_text; /* text of this address in list */ + struct adr *ad_next; /* next adr in list */ + char ad_local; /* text is local (check for expansion) */ }; /* * incore version of /etc/passwd */ struct home { - char *h_name; /* user name */ - uid_t h_uid; /* user id */ - gid_t h_gid; /* user's group */ - char *h_home; /* user's home directory */ - char *h_shell; /* user's shell */ - int h_ngrps; /* number of groups this user belongs to */ - struct home *h_next; /* next home in list */ + char *h_name; /* user name */ + uid_t h_uid; /* user id */ + gid_t h_gid; /* user's group */ + char *h_home; /* user's home directory */ + char *h_shell; /* user's shell */ + int h_ngrps; /* number of groups this user belongs to */ + struct home *h_next; /* next home in list */ }; struct home *seek_home (char *); @@ -49,11 +47,11 @@ char *akerror (int); /* codes returned by alias() */ -#define AK_OK 0 /* file parsed ok */ -#define AK_NOFILE 1 /* couldn't read file */ -#define AK_ERROR 2 /* error parsing file */ -#define AK_LIMIT 3 /* memory limit exceeded */ -#define AK_NOGROUP 4 /* no such group */ +#define AK_OK 0 /* file parsed ok */ +#define AK_NOFILE 1 /* couldn't read file */ +#define AK_ERROR 2 /* error parsing file */ +#define AK_LIMIT 3 /* memory limit exceeded */ +#define AK_NOGROUP 4 /* no such group */ /* should live here, not in mts.c */