Move hexchar() from the sudoers plugin to lib/util.
This commit is contained in:
@@ -222,6 +222,10 @@ sudo_dso_public int sudo_parse_gids_v1(const char *gidstr, const gid_t *basegid,
|
||||
sudo_dso_public int sudo_getgrouplist2_v1(const char *name, gid_t basegid, GETGROUPS_T **groupsp, int *ngroupsp);
|
||||
#define sudo_getgrouplist2(_a, _b, _c, _d) sudo_getgrouplist2_v1((_a), (_b), (_c), (_d))
|
||||
|
||||
/* hexchar.c */
|
||||
sudo_dso_public int sudo_hexchar_v1(const char *s);
|
||||
#define sudo_hexchar(_a) sudo_hexchar_v1(_a)
|
||||
|
||||
/* key_val.c */
|
||||
sudo_dso_public char *sudo_new_key_val_v1(const char *key, const char *value);
|
||||
#define sudo_new_key_val(_a, _b) sudo_new_key_val_v1((_a), (_b))
|
||||
|
Reference in New Issue
Block a user