Synopsis
guint32 e_plugin_hook_id ( | root, | |
| | map, | |
| | prop); | |
| xmlNodePtr | root; |
| const struct _EPluginHookTargetKey * | map; |
| const char * | prop; |
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
an integer.
This is used as a helper wherever you need to represent an
enumerated value in the XML.
Return value
If the prop value is in map, then the corresponding
integer value, if not, then ~0.