![]() |
![]() |
![]() |
GUPnP A/V Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
GUPnPDIDLLiteParser; GUPnPDIDLLiteParser * gupnp_didl_lite_parser_new (void); gboolean gupnp_didl_lite_parser_parse_didl (GUPnPDIDLLiteParser *parser, const char *didl, GError **error);
GUPnPDIDLLiteParser * gupnp_didl_lite_parser_new (void);
Returns : |
A new GUPnPDIDLLiteParser object. |
gboolean gupnp_didl_lite_parser_parse_didl (GUPnPDIDLLiteParser *parser, const char *didl, GError **error);
Parses DIDL-Lite XML string didl
, calling the supplied callback for each
DIDL-Lite object it finds in the process.
|
A GUPnPDIDLLiteParser |
|
The DIDL-Lite XML string to be parsed |
|
The callback to call for each DIDL-Lite object found |
|
User data for callback |
|
The location where to store any error, or NULL |
Returns : |
TRUE on success. |
"container-available"
signalvoid user_function (GUPnPDIDLLiteParser *parser, GUPnPDIDLLiteContainer *container, gpointer user_data) : Run Last
The ::container-available signal is emitted each time a container is found in the DIDL-Lite XML being parsed.
|
The GUPnPDIDLLiteParser that received the signal |
|
The now available GUPnPDIDLLiteContainer |
|
user data set when the signal handler was connected. |
"item-available"
signalvoid user_function (GUPnPDIDLLiteParser *parser, GUPnPDIDLLiteItem *item, gpointer user_data) : Run Last
The ::item-available signal is emitted each time an item is found in the DIDL-Lite XML being parsed.
|
The GUPnPDIDLLiteParser that received the signal |
|
The now available GUPnPDIDLLiteItem |
|
user data set when the signal handler was connected. |
"object-available"
signalvoid user_function (GUPnPDIDLLiteParser *parser, GUPnPDIDLLiteObject *object, gpointer user_data) : Run Last
The ::object-available signal is emitted each time an object is found in the DIDL-Lite XML being parsed.
|
The GUPnPDIDLLiteParser that received the signal |
|
The now available GUPnPDIDLLiteObject |
|
user data set when the signal handler was connected. |