extern char* bpc_buffer_allocate

(struct CHANNEL_INSTANCE* inst,
  size_t size)

Allocates a buffer of the specified size.

Documentation

Allocates a buffer of the specified size.

Use bpc_buffer_destroy to deallocate the buffer returned, but only if it has not been used as a parameter to bpc_send.

Parameters:
inst - A pointer to the channel-instance structure.
size - The size of the buffer to be allocated.
Returns:
The buffer that is allocated, or NULL.

Home Alphabetic index



This page was generated with the help of DOC++.