Name

e_plugin_xml_int —

Synopsis

int e_plugin_xml_int (node,  
 id,  
 def); 
xmlNodePtr  node;
const char *  id;
int  def;

Arguments

node

An XML node.

id

The name of the property to retrieve.

def

A default value if the property doesn't exist. Can be used to determine if the property isn't set.

Description

A static helper function to look up a property on an XML node as an integer. If the property doesn't exist, then def is returned as a default value instead.

Return value

The value if set, or def if not.