X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Faliasbr.h;h=759c9a7402ffbe03761b62b9c5f3e70b59098f06;hp=5405531ef94c7de04ccffcd0aa301528b4c5ec9f;hb=ee8d01d64e8832304256de53db07228e2be67f6a;hpb=ced6090a330d3d83d0bce709f756aa3d7d65fea4 diff --git a/h/aliasbr.h b/h/aliasbr.h index 5405531..759c9a7 100644 --- a/h/aliasbr.h +++ b/h/aliasbr.h @@ -2,11 +2,6 @@ ** 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 */ - struct aka { char *ak_name; /* name to match against */ struct adr *ak_addr; /* list of addresses that it maps to */ @@ -33,17 +28,17 @@ struct home { struct home *h_next; /* next home in list */ }; -struct home *seek_home (char *); +struct home *seek_home(char *); /* ** prototypes */ -int alias (char *); -int akvisible (void); -void init_pw (void); -char *akresult (struct aka *); -char *akvalue (char *); -char *akerror (int); +int alias(char *); +int akvisible(void); +void init_pw(void); +char *akresult(struct aka *); +char *akvalue(char *); +char *akerror(int); /* codes returned by alias() */ @@ -52,8 +47,3 @@ char *akerror (int); #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 */ - -extern int Everyone; -extern char *NoShell;