* include/mailutils/opool.h (mu_opool_set_bucket_size)
(mu_opool_get_bucket_size): New protos. * mailbox/opool.c (struct _mu_opool.bucket_size): New member. (alloc_pool, copy_chars): Use opool->bucket_size to set bucket size. (mu_opool_create): Initialize bucket_size with the default value. (mu_opool_set_bucket_size,mu_opool_get_bucket_size): New functions.
Showing
3 changed files
with
36 additions
and
2 deletions
-
Please register or sign in to post a comment