| Top |  |  |  |  | 
| void | begin-parens | Run Last | 
| void | conjunction | Run Last | 
| void | disjunction | Run Last | 
| void | end-parens | Run Last | 
| gboolean | expression | Run Last | 
GUPnPSearchCriteriaParser parses ContentDirectory search criteria strings.
Note that no signals will be emitted if a wildcard is specified, and that the user is responsible for ensuring precedence of conjunction over disjunction.
GUPnPSearchCriteriaParser *
gupnp_search_criteria_parser_new (void);
gboolean gupnp_search_criteria_parser_parse_text (GUPnPSearchCriteriaParser *parser,const char *text,GError **error);
Parses text
, emitting the various defined signals on the way. If an
error occured error
 will be set.
“begin-parens” signalvoid user_function (GUPnPSearchCriteriaParser *parser, gpointer user_data)
The ::begin_parens signal is emitted to mark the beginning of a parenthetical expression.
| parser | The GUPnPSearchCriteriaParser that received the signal | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last
“conjunction” signalvoid user_function (GUPnPSearchCriteriaParser *parser, gpointer user_data)
The ::conjuction signal is emitted whenever a conjuction marker (and) is parsed.
| parser | The GUPnPSearchCriteriaParser that received the signal | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last
“disjunction” signalvoid user_function (GUPnPSearchCriteriaParser *parser, gpointer user_data)
The ::disjuction signal is emitted whenever a disjuction marker (or&rpar is parsed.
| parser | The GUPnPSearchCriteriaParser that received the signal | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last
“end-parens” signalvoid user_function (GUPnPSearchCriteriaParser *parser, gpointer user_data)
The ::end_parens signal is emitted to mark the end of a parenthetical expression.
| parser | The GUPnPSearchCriteriaParser that received the signal | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last
“expression” signalgboolean user_function (GUPnPSearchCriteriaParser *parser, gchar *property, GUPnPSearchCriteriaOp op, gchar *value, gpointer error, gpointer user_data)
The ::expression signal is emitted whenever an expression is parsed.
Set error
 and return FALSE if an error occurred.
| parser | The GUPnPSearchCriteriaParser that received the signal | |
| property | The property | |
| op | The operator as GUPnPSearchCriteriaOp | |
| value | The value as string | |
| error | Place-holder for any possible errors from handler | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last