]> granicus.if.org Git - sudo/commitdiff
added struct command_alias
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 17 Aug 1996 17:22:02 +0000 (17:22 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 17 Aug 1996 17:22:02 +0000 (17:22 +0000)
sudo.h

diff --git a/sudo.h b/sudo.h
index f64d4d3e2896812e704028fc592adf5131de63ae..093b24c37135775a4278acaf5382683f2159b9f9 100644 (file)
--- a/sudo.h
+++ b/sudo.h
@@ -89,6 +89,16 @@ struct sudo_match {
     int nopasswd;
 };
 
+/*
+ * Structure containing Cmnd_Alias's if "sudo -l" is used.
+ */
+struct command_alias {
+    char *alias;
+    char *entries;
+    size_t entries_size;
+    size_t entries_len;
+};
+
 /*
  * Maximum number of characters to log per entry.  The syslogger
  * will log this much, after that, it truncates the log line.