[Previous] [Contents] [Index] [Next]

PtHtmlLink()

Search for links to related HTML documents

Synopsis:

char * PtHtmlLink( PtWidget_t *widget, 
                   char *rel );

Description:

This function searches the current HTML file for the given widget, looking for a <LINK> tag whose REL attribute matches the rel argument. If the <LINK> tag is found, the function returns a pointer to a string containing the href attribute.

For example, PtHtmlLink() would return the string sample.html if called with the rel argument set to the string previous with the following link tag in the HTML file:

<link href="sample.html" rel="previous">

Returns:

A pointer to the filename for the requested link, or NULL if the link couldn't be found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]