summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2008-12-05 16:23:06 +0000
committerDenis Vlasenko2008-12-05 16:23:06 +0000
commit15437e3e2a0cc9e4ba25066fd562b2862d38799b (patch)
tree5093eddb8a8dd3ae6edd564e43f6219be3fd9a08 /include
parentd324e1b808daca7eec5b8700824a886a21508714 (diff)
downloadbusybox-15437e3e2a0cc9e4ba25066fd562b2862d38799b.zip
busybox-15437e3e2a0cc9e4ba25066fd562b2862d38799b.tar.gz
libbb: add xgetgrnam too. ~0 code size change
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 80311db..16e8f48 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;