X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=send_common.c;h=a2189b030b39074778798da96ce91c5e52785ed3;hp=448ddfec0f83692f0fa144487418df3a9b02fad7;hb=86fdff38d980c39062764a31f40a2ee2c5854d33;hpb=eea9d1cae30df921ae2fd1771518b8b21dbd0daf diff --git a/send_common.c b/send_common.c index 448ddfec..a2189b03 100644 --- a/send_common.c +++ b/send_common.c @@ -440,6 +440,20 @@ out: return ret; } +/** + * Parse a FEC URL string. + * + * \param scd The structure containing host, port and the FEC parameters. + * + * \return Standard. + * + * A FEC URL consists of an ordinary URL string according to RFC 3986, + * optionally followed by a slash and the three FEC parameters slice_size, + * data_slices_per_group and slices_per_group. The three FEC parameters are + * separated by colons. + * + * \sa \ref parse_url(). + */ int parse_fec_url(const char *arg, struct sender_command_data *scd) { int ret;