Diffusion C API  6.7.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
selector.h File Reference

Functions

 DEPRECATED (int selector_match(const char *selector, const char *topic_name))
 Evaluate a selector against a topic path. More...
 

Function Documentation

DEPRECATED ( int   selector_matchconst char *selector, const char *topic_name)

Evaluate a selector against a topic path.

Parameters
selectorselector expression to be evaluated against.
topic_nametopic path to be evaluated.
Returns
1, if the selector matches against the topic. 0, otherwise.
Deprecated:
since 6.7 and will be removed in a future release. Please use diffusion_topic_selector_create to create a topic selector and diffusion_topic_selector_selects to emulate this behaviour.