look_up_links


Description:

[ Version ( since = "0.4.0" ) ]
public List<unowned Link> look_up_links (string rel)

Looks up a list of links by relation type from the list of links in the entry.

If the links have one of the standard Atom relation types, use one of the defined rel values, instead of a static string. e.g. LINK_EDIT or LINK_SELF .

If you will only use the first link found, consider calling look_up_link instead.

Parameters:

this

a Entry

rel

the value of the rel attribute of the desired links

Returns:

a List of Links, or null if none were found; free the list with g_list_free