/*
- * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2012 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
uint8_t slices_per_group;
/** Number of slices minus number of redundant slices. */
uint8_t data_slices_per_group;
- /** Maximal number of bytes per slice, initially zero. */
- uint16_t max_slice_bytes;
+ /** Whether the header must be sent periodically. */
+ bool need_periodic_header;
/**
* Transport-layer initialisation for FEC support.
*
*/
int (*init_fec)(struct sender_client *sc);
/** Push out FEC-encoded packets */
- int (*send_fec)(struct sender_client *sc, char *buf, size_t len);
+ void (*send_fec)(struct sender_client *sc, char *buf, size_t len);
};
/** Describes the current status of one paraslash sender. */