• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/src/

Lines Matching refs:link

54 /* Set of HTML/CSS files downloaded in this Wget run, used for link
210 struct urlpos *link;
267 for (link = links; link; link = link->next)
269 char *url_start = fm->content + link->pos;
271 if (link->pos >= fm->length)
277 if (link->convert == CO_NOCONVERT)
279 DEBUGP (("Skipping %s at position %d.\n", link->url->url, link->pos));
288 switch (link->convert)
293 char *newname = construct_relative (file, link->local_name);
296 if (link->link_css_p)
297 p = replace_plain (p, link->size, fp, quoted_newname);
298 else if (!link->link_refresh_p)
299 p = replace_attr (p, link->size, fp, quoted_newname);
301 p = replace_attr_refresh_hack (p, link->size, fp, quoted_newname,
302 link->refresh_timeout);
305 link->url->url, newname, link->pos, file));
312 /* Convert the link to absolute URL. */
314 char *newlink = link->url->url;
317 if (link->link_css_p)
318 p = replace_plain (p, link->size, fp, quoted_newlink);
319 else if (!link->link_refresh_p)
320 p = replace_attr (p, link->size, fp, quoted_newlink);
322 p = replace_attr_refresh_hack (p, link->size, fp, quoted_newlink,
323 link->refresh_timeout);
326 newlink, link->pos, file));
333 p = replace_attr (p, link->size, fp, "");
350 /* Construct and return a link that points from BASEFILE to LINKFILE.
370 char *link;
391 The link we're constructing needs to be:
406 link = xmalloc (3 * basedirs + strlen (linkfile) + 1);
408 memcpy (link + 3 * i, "../", 3);
409 strcpy (link + 3 * i, linkfile);
410 return link;
747 is used by the link conversion code to convert references to URLs