summaryrefslogtreecommitdiff
path: root/lib/ldb/include/ldb_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ldb/include/ldb_private.h')
-rw-r--r--lib/ldb/include/ldb_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ldb/include/ldb_private.h b/lib/ldb/include/ldb_private.h
index 4deb24691ca..338e71def6d 100644
--- a/lib/ldb/include/ldb_private.h
+++ b/lib/ldb/include/ldb_private.h
@@ -317,4 +317,7 @@ int ldb_match_message(struct ldb_context *ldb,
const struct ldb_parse_tree *tree,
enum ldb_scope scope, bool *matched);
+/* Reallocate elements to drop any excess capacity. */
+void ldb_msg_shrink_to_fit(struct ldb_message *msg);
+
#endif