2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Introduce new_member_all() for code that doesn't include gram.h.

The ldap and sssd back-ends no longer require gram.h which fixes a
compilation issue with IBM LDAP.
This commit is contained in:
Todd C. Miller
2020-11-10 19:36:56 -07:00
parent deb217adf9
commit 55c4f3bddd
6 changed files with 24 additions and 8 deletions

View File

@@ -310,6 +310,7 @@ void alias_put(struct alias *a);
/* gram.c */
extern struct sudoers_parse_tree parsed_policy;
bool init_parser(const char *path, bool quiet, bool strict);
struct member *new_member_all(char *name);
void free_member(struct member *m);
void free_members(struct member_list *members);
void free_privilege(struct privilege *priv);