extern struct frame* bpc_b2f

(CHANNEL_INSTANCE* inst,
  char* buffer)

Gets the frame associated with the buffer created by bpc_buffer_allocate, bpc_error_allocate, or bpc_frame_aggregate.

Documentation

Gets the frame associated with the buffer created by bpc_buffer_allocate, bpc_error_allocate, or bpc_frame_aggregate.

Do not call this routine if the buffer was used as a parameter to bpc_send.

Parameters:
inst - A pointer to the channel-instance structure.
f - A pointer to buffer.
Returns:
A pointer to frame structure which may be destroyed by bpc_frame_destroy, but ONLY if you're haven't called bpc_buffer_destroy).

Home Alphabetic index



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