int ipfix_reset_sendbuffer(ipfix_sendbuffer *sendbuf)
static int ipfix_reset_sendbuffer(ipfix_sendbuffer *sendbuf)
int ipfix_reset_sendbuffer(ipfix_sendbuffer *sendbuf){	if (sendbuf == NULL ) {		fprintf (stderr, "Sendbuffer is NULL\n");		return -1;	}	sendbuf->current = HEADER_USED_IOVEC_COUNT;	sendbuf->commited = HEADER_USED_IOVEC_COUNT;	sendbuf->commited_data_length = 0;	// also reset the set_manager!	ipfix_reset_set_manager(sendbuf->set_manager);	return 0;}