silc_buffer_spurge

SYNOPSIS

    static inline
    void silc_buffer_spurge(SilcStack stack, SilcBuffer sb);

DESCRIPTION

Same as silc_buffer_free but free's only the contents of the buffer not the buffer itself. The `sb' remains intact, data is freed. Buffer is ready for re-use after calling this function. If `stack' is NULL this calls silc_buffer_purge.