This is after an exchange with Dave Inglis and Sam Roberts.
Basically they recommand to drop the XX_release() functions and only to keep XX_create (), XX_destroy (). We have simple reference count strategy for memory management. * mailbox2/* : Way too much to enumerate. * mailbox2/refcount.c: New file * mailbox2/include/mailutils/refcount.h: New file * mailbox2/include/mailutils/sys/refcount.h: New file * mailbox2/fdstream.c: stream_fd_create ().
Showing
84 changed files
with
1681 additions
and
1345 deletions
mailbox2/dattribute.c
0 → 100644
mailbox2/fdstream.c
0 → 100644
mailbox2/include/mailutils/refcount.h
0 → 100644
mailbox2/include/mailutils/sys/fdstream.h
0 → 100644
mailbox2/include/mailutils/sys/refcount.h
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
mailbox2/refcount.c
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment