axl_bool myqttd_config_is_attr_positive ( MyQttdCtx ctx,
axlNode *  node,
const char *  attr_name 
)

Allows to check if an xml attribute is positive, that is, have 1, true or yes as value.

Parameters
ctxThe myqttd context.
nodeThe node to check for positive attribute value.
attr_nameThe node attribute name to check for positive value.
Returns
axl_true if positive value is found, otherwise axl_false is returned.