Split display_privs() and display_cmnd() out of parse.c into display.c

This commit is contained in:
Todd C. Miller
2023-06-29 10:31:09 -06:00
parent 1ba61cd13a
commit 8b640329d3
5 changed files with 648 additions and 588 deletions

View File

@@ -474,6 +474,8 @@ const char *digest_type_to_name(unsigned int digest_type);
/* parse.c */
struct sudo_nss_list;
int sudoers_lookup(struct sudo_nss_list *snl, struct passwd *pw, int *cmnd_status, int pwflag);
/* display.c */
int display_privs(struct sudo_nss_list *snl, struct passwd *pw, bool verbose);
int display_cmnd(struct sudo_nss_list *snl, struct passwd *pw);