projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added charstring "class"
[mmh]
/
h
/
aliasbr.h
diff --git
a/h/aliasbr.h
b/h/aliasbr.h
index
aa38c42
..
759c9a7
100644
(file)
--- a/
h/aliasbr.h
+++ b/
h/aliasbr.h
@@
-1,11
+1,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 */
+** aliasbr.h -- definitions for the aliasing system
+*/
struct aka {
char *ak_name; /* name to match against */
struct aka {
char *ak_name; /* name to match against */
@@
-21,8
+16,8
@@
struct adr {
};
/*
};
/*
- * incore version of /etc/passwd
- */
+** incore version of /etc/passwd
+*/
struct home {
char *h_name; /* user name */
uid_t h_uid; /* user id */
struct home {
char *h_name; /* user name */
uid_t h_uid; /* user id */
@@
-33,17
+28,17
@@
struct home {
struct home *h_next; /* next home in list */
};
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);
+** prototypes
+*/
+int alias(char *);
+int akvisible(void);
+void init_pw(void);
+char *akresult(struct aka *);
+char *akvalue(char *);
+char *akerror(int);
/* codes returned by alias() */
/* 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 */
#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;