silc_buffer_pull_tail
SYNOPSIS
static inline unsigned char *silc_buffer_pull_tail(SilcBuffer sb, SilcUInt32 len);
DESCRIPTION
Pulls current tail section towards end. Length of the current valid data area is also incremented. Returns a pointer to the data area before pulling. Returns NULL if the pull would lead to buffer overflow.
EXAMPLE
--------------------------------- | head | data | tail | --------------------------------- ^ Pulls the start of the tail section. --------------------------------- | head | data | tail | --------------------------------- ^ silc_buffer_pull_tail(sb, 23);