From 7a3bc46e7b50331af411678eae2807f4e2569c66 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 10 Feb 2011 11:04:11 +0100 Subject: Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more" This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3. Undo the library version bump. --- nsswitch/libwbclient/wbc_idmap.c | 6 ++++++ nsswitch/libwbclient/wbclient.h | 9 +++++++++ 2 files changed, 15 insertions(+) (limited to 'nsswitch/libwbclient') diff --git a/nsswitch/libwbclient/wbc_idmap.c b/nsswitch/libwbclient/wbc_idmap.c index c0193ca2dc..caa7916152 100644 --- a/nsswitch/libwbclient/wbc_idmap.c +++ b/nsswitch/libwbclient/wbc_idmap.c @@ -266,3 +266,9 @@ wbcErr wbcAllocateGid(gid_t *pgid) done: return wbc_status; } + +/* Set the highwater mark for allocated gids - not implemented any more */ +wbcErr wbcSetGidHwm(gid_t gid_hwm) +{ + return WBC_ERR_NOT_IMPLEMENTED; +} diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index 13f1d99bb7..e1a7f267fd 100644 --- a/nsswitch/libwbclient/wbclient.h +++ b/nsswitch/libwbclient/wbclient.h @@ -786,6 +786,15 @@ wbcErr wbcAllocateUid(uid_t *puid); **/ wbcErr wbcAllocateGid(gid_t *pgid); +/** + * @brief Set the highwater mark for allocated gids. + * + * @param gid_hwm The new gid highwater mark value + * + * @return #wbcErr + **/ +wbcErr wbcSetGidHwm(gid_t gid_hwm); + /********************************************************** * NSS Lookup User/Group details **********************************************************/ -- cgit