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

Undo the library version bump.

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

index caa7916152582fedbeca4a0b4508159832851b2c..d9311c4e07aa0e15b6b75a40be8dfe5e15c6639a 100644 (file)
@@ -267,6 +267,12 @@ wbcErr wbcAllocateGid(gid_t *pgid)
        return wbc_status;
 }
 
+/* Set the highwater mark for allocated uids - not implemented any more */
+wbcErr wbcSetUidHwm(uid_t uid_hwm)
+{
+       return WBC_ERR_NOT_IMPLEMENTED;
+}
+
 /* Set the highwater mark for allocated gids - not implemented any more */
 wbcErr wbcSetGidHwm(gid_t gid_hwm)
 {
index e1a7f267fd9cb0d1dd316fb2e8fd24fc31fca73d..96d6e687f5da3d5d9bdd484576ac0d36706a1f97 100644 (file)
@@ -786,6 +786,15 @@ wbcErr wbcAllocateUid(uid_t *puid);
  **/
 wbcErr wbcAllocateGid(gid_t *pgid);
 
+/**
+ * @brief Set the highwater mark for allocated uids.
+ *
+ * @param uid_hwm      The new uid highwater mark value
+ *
+ * @return #wbcErr
+ **/
+wbcErr wbcSetUidHwm(uid_t uid_hwm);
+
 /**
  * @brief Set the highwater mark for allocated gids.
  *