Name

e_plugin_hook_mask —

Synopsis

guint32 e_plugin_hook_mask (root,  
 map,  
 prop); 
xmlNodePtr  root;
const struct _EPluginHookTargetKey *  map;
const char *  prop;

Arguments

root

An XML node.

map

A zero-fill terminated array of EPluginHookTargeKeys used to map a string with a bit value.

prop

The property name.

Description

This is a static helper function which looks up a property prop on the XML node root, and then uses the map table to convert it into a bitmask. The property value is a comma separated list of enumeration strings which are indexed into the map table.

Return value

A bitmask representing the inclusive-or of all of the integer values of the corresponding string id's stored in the map.