From 15437e3e2a0cc9e4ba25066fd562b2862d38799b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 5 Dec 2008 16:23:06 +0000 Subject: libbb: add xgetgrnam too. ~0 code size change --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 80311db2b..16e8f48db 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -703,6 +703,7 @@ void xget_uidgid(struct bb_uidgid_t*, const char*) FAST_FUNC; /* chown-like handling of "user[:[group]" */ void parse_chown_usergroup_or_die(struct bb_uidgid_t *u, char *user_group) FAST_FUNC; struct passwd* xgetpwnam(const char *name) FAST_FUNC; +struct group* xgetgrnam(const char *name) FAST_FUNC; struct passwd* xgetpwuid(uid_t uid) FAST_FUNC; struct group* xgetgrgid(gid_t gid) FAST_FUNC; char* xuid2uname(uid_t uid) FAST_FUNC; -- cgit v1.2.3