X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=send_common.c;h=b81600737e441bef40837f23f7e1d877b297b62a;hp=448ddfec0f83692f0fa144487418df3a9b02fad7;hb=3f586245327dfe951bcd4bd73d91f52ba9541724;hpb=1673dedb71f81a93e282bb09d6ae7911b82d7503 diff --git a/send_common.c b/send_common.c index 448ddfec..b8160073 100644 --- a/send_common.c +++ b/send_common.c @@ -440,6 +440,21 @@ out: return ret; } +/** + * Parse a FEC URL string. + * + * \param arg the URL string to parse. + * \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;