| GUPnP DLNA Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
GUPnPDLNARestriction; GUPnPDLNARestriction * gupnp_dlna_restriction_copy (GUPnPDLNARestriction *restriction); void gupnp_dlna_restriction_free (GUPnPDLNARestriction *restriction); GHashTable * gupnp_dlna_restriction_get_entries (GUPnPDLNARestriction *restriction); const gchar * gupnp_dlna_restriction_get_mime (GUPnPDLNARestriction *restriction); gboolean gupnp_dlna_restriction_is_empty (GUPnPDLNARestriction *restriction); gchar * gupnp_dlna_restriction_to_string (GUPnPDLNARestriction *restriction);
GUPnPDLNARestriction * gupnp_dlna_restriction_copy (GUPnPDLNARestriction *restriction);
|
A restriction to copy. [transfer none] |
Returns : |
A copy of restriction. [transfer full]
|
void gupnp_dlna_restriction_free (GUPnPDLNARestriction *restriction);
Frees restriction.
|
A restriction to free. |
GHashTable * gupnp_dlna_restriction_get_entries (GUPnPDLNARestriction *restriction);
Gets restriction's entries. It is a string to GUPnPDLNAValueList
mapping.
|
A restriction. [transfer none] |
Returns : |
Entries. Do not modify. [transfer none][element-type utf8 GUPnPDLNAValueList] |
const gchar * gupnp_dlna_restriction_get_mime (GUPnPDLNARestriction *restriction);
Gets restriction's MIME type.
|
A restriction. [transfer none] |
Returns : |
MIME type. Do not modify. [transfer none] |
gboolean gupnp_dlna_restriction_is_empty (GUPnPDLNARestriction *restriction);
gchar * gupnp_dlna_restriction_to_string (GUPnPDLNARestriction *restriction);
Creates a string representation of restriction.
|
A restriction. [transfer none] |
Returns : |
A string representation of
restriction. Free with g_free() when not needed. [transfer full]
|