extern struct frame* bpc_frame_allocate

(struct CHANNEL_INSTANCE* inst,
  size_t size)

Allocates a frame of the specified size.

Documentation

Allocates a frame of the specified size.

Use bpc_frame_destroy to deallocate the frame returned.

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

Home Alphabetic index



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