Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more"
authorMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 10:04:11 +0000 (11:04 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 10 Feb 2011 12:57:31 +0000 (13:57 +0100)
This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3.

Undo the library version bump.

nsswitch/libwbclient/wbc_idmap.c
nsswitch/libwbclient/wbclient.h

index c0193ca2dc3a58c211f979fdbb63f1df2e6dbbe9..caa7916152582fedbeca4a0b4508159832851b2c 100644 (file)
@@ -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;
+}
index 13f1d99bb700065f07bbe37197c55b36241c34d5..e1a7f267fd9cb0d1dd316fb2e8fd24fc31fca73d 100644 (file)
@@ -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
  **********************************************************/