X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=send_common.c;h=a2189b030b39074778798da96ce91c5e52785ed3;hb=94d7a012a9bac8844a5ed11b97b51c8d35edadb0;hp=448ddfec0f83692f0fa144487418df3a9b02fad7;hpb=1673dedb71f81a93e282bb09d6ae7911b82d7503;p=paraslash.git 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;