#include "tao/Queued_Data.h"#include "tao/debug.h"#include "ace/Log_Msg.h"#include "ace/Malloc_Base.h"

Functions | |
| static TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Message_Block * | clone_mb_nocopy_size (ACE_Message_Block *mb, size_t span_size) |
| Allocate and return a new empty message block of size span_size mimicking parameters of mb. | |
| static TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Message_Block* clone_mb_nocopy_size | ( | ACE_Message_Block * | mb, | |
| size_t | span_size | |||
| ) | [static] |
Allocate and return a new empty message block of size span_size mimicking parameters of mb.
This function allocates a new aligned message block using the same allocators and flags as found in mb. The size of the new message block is at least span_size; the size may be adjusted up in order to accomodate alignment requirements and still fit span_size bytes into the aligned buffer.
| mb | message block whose parameters should be mimicked | |
| span_size | size of the new message block (will be adjusted for proper alignment) |
1.5.3