};
#define user_matches (match[top-1].user)
-#define user_matched (match[top].user)
#define cmnd_matches (match[top-1].cmnd)
-#define cmnd_matched (match[top].cmnd)
#define host_matches (match[top-1].host)
-#define host_matched (match[top].host)
#define runas_matches (match[top-1].runas)
-#define runas_matched (match[top].runas)
#define no_passwd (match[top-1].nopass)
/*
int nopasswd;
};
+/*
+ * Structure describing an alias match in parser.
+ */
+typedef struct {
+ int type;
+ char *name;
+ int val;
+} aliasinfo;
+
/*
* Structure containing Cmnd_Alias's if "sudo -l" is used.
*/