gupnp-dlna-restriction

gupnp-dlna-restriction

Object Hierarchy

  GBoxed
   +----GUPnPDLNARestriction

Description

Details

GUPnPDLNARestriction

typedef struct _GUPnPDLNARestriction GUPnPDLNARestriction;

gupnp_dlna_restriction_copy ()

GUPnPDLNARestriction * gupnp_dlna_restriction_copy      (GUPnPDLNARestriction *restriction);

restriction :

A restriction to copy. [transfer none]

Returns :

A copy of restriction. [transfer full]

gupnp_dlna_restriction_free ()

void                gupnp_dlna_restriction_free         (GUPnPDLNARestriction *restriction);

Frees restriction.

restriction :

A restriction to free.

gupnp_dlna_restriction_get_entries ()

GHashTable *        gupnp_dlna_restriction_get_entries  (GUPnPDLNARestriction *restriction);

Gets restriction's entries. It is a string to GUPnPDLNAValueList mapping.

restriction :

A restriction. [transfer none]

Returns :

Entries. Do not modify. [transfer none][element-type utf8 GUPnPDLNAValueList]

gupnp_dlna_restriction_get_mime ()

const gchar *       gupnp_dlna_restriction_get_mime     (GUPnPDLNARestriction *restriction);

Gets restriction's MIME type.

restriction :

A restriction. [transfer none]

Returns :

MIME type. Do not modify. [transfer none]

gupnp_dlna_restriction_is_empty ()

gboolean            gupnp_dlna_restriction_is_empty     (GUPnPDLNARestriction *restriction);

restriction :

A restriction. [transfer none]

Returns :

TRUE if restriction is empty and has no MIME type, otherwise FALSE.

gupnp_dlna_restriction_to_string ()

gchar *             gupnp_dlna_restriction_to_string    (GUPnPDLNARestriction *restriction);

Creates a string representation of restriction.

restriction :

A restriction. [transfer none]

Returns :

A string representation of restriction. Free with g_free() when not needed. [transfer full]