s3:winbindd: Fix size types in idmap_tdb_common
[samba.git] / source3 / lib / gencache.h
index 61716c41326c52fd7d9b755ed6032468a983f3ab..fa72a4aa466f35bbad9e4f5d6a7e94a9708bb0d0 100644 (file)
@@ -27,7 +27,6 @@
 #include "replace.h"
 #include "system/time.h"
 #include "lib/util/data_blob.h"
-#include "libcli/util/ntstatus.h"
 
 bool gencache_set(const char *keystr, const char *value, time_t timeout);
 bool gencache_del(const char *keystr);
@@ -41,7 +40,7 @@ bool gencache_get_data_blob(const char *keystr, TALLOC_CTX *mem_ctx,
                            DATA_BLOB *blob,
                            time_t *timeout, bool *was_expired);
 bool gencache_stabilize(void);
-bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob,
+bool gencache_set_data_blob(const char *keystr, DATA_BLOB blob,
                            time_t timeout);
 void gencache_iterate_blobs(void (*fn)(const char *key, DATA_BLOB value,
                                       time_t timeout, void *private_data),