Commit 484ea81e authored by Parthiban Balasubramanian's avatar Parthiban Balasubramanian Committed by Jens Georg

Adding support for Link protection related DLNAFlags

https://bugzilla.gnome.org/show_bug.cgi?id=706926
parent 1a991fe4
......@@ -119,6 +119,15 @@ gupnp_dlna_flags_get_type (void)
{ GUPNP_DLNA_FLAGS_DLNA_V15,
"GUPNP_DLNA_FLAGS_DLNA_V15",
"dlna-v15" },
{ GUPNP_DLNA_FLAGS_LINK_PROTECTED_CONTENT,
"GUPNP_DLNA_FLAGS_LINK_PROTECTED_CONTENT",
"link-protected-content" },
{ GUPNP_DLNA_FLAGS_CLEAR_TEXT_BYTE_SEEK_FULL,
"GUPNP_DLNA_FLAGS_CLEAR_TEXT_BYTE_SEEK_FULL",
"cleartext-byteseek-full" },
{ GUPNP_DLNA_FLAGS_LOP_CLEAR_TEXT_BYTE_SEEK,
"GUPNP_DLNA_FLAGS_LOP_CLEAR_TEXT_BYTE_SEEK",
"lop-cleartext-byteseek" },
{ 0, NULL, NULL }
};
......
......@@ -88,11 +88,18 @@ gupnp_dlna_flags_get_type (void) G_GNUC_CONST;
* supported
* @GUPNP_DLNA_FLAGS_CONNECTION_STALL: No content transfer when paused.
* @GUPNP_DLNA_FLAGS_DLNA_V15: DLNAv1.5 version flag
* @GUPNP_DLNA_FLAGS_LINK_PROTECTED_CONTENT: The content is protected.
* @GUPNP_DLNA_FLAGS_CLEAR_TEXT_BYTE_SEEK_FULL: Full byte seek on cleartext
* domain is supported.
* @GUPNP_DLNA_FLAGS_LOP_CLEAR_TEXT_BYTE_SEEK: Limited operations on
* byte seek in cleartext domain.
*
* The miscellaneous operations supported by a resource. For details on these
* flags please refer to section 7.3.37.2 of DLNA Networked Device
* Interoperability Guidelines Volume 1, October 2006.
*
* Updated DTCP Flags based on 2011 Guidelines, section 7.4.1.3.23.2
*
**/
typedef enum {
GUPNP_DLNA_FLAGS_NONE = 0,
......@@ -107,7 +114,10 @@ typedef enum {
GUPNP_DLNA_FLAGS_INTERACTIVE_TRANSFER_MODE = (1 << 23),
GUPNP_DLNA_FLAGS_BACKGROUND_TRANSFER_MODE = (1 << 22),
GUPNP_DLNA_FLAGS_CONNECTION_STALL = (1 << 21),
GUPNP_DLNA_FLAGS_DLNA_V15 = (1 << 20)
GUPNP_DLNA_FLAGS_DLNA_V15 = (1 << 20),
GUPNP_DLNA_FLAGS_LINK_PROTECTED_CONTENT = (1 << 16),
GUPNP_DLNA_FLAGS_CLEAR_TEXT_BYTE_SEEK_FULL = (1 << 15),
GUPNP_DLNA_FLAGS_LOP_CLEAR_TEXT_BYTE_SEEK = (1 << 14)
} GUPnPDLNAFlags;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment