Top | ![]() |
![]() |
![]() |
![]() |
gint64 | end-byte | Read / Write |
gint64 | range-length | Read |
gint64 | start-byte | Read / Write |
gint64 | total-size | Read / Write |
#define | RYGEL_TYPE_HTTP_BYTE_SEEK_RESPONSE |
struct | RygelHTTPByteSeekResponse |
struct | RygelHTTPByteSeekResponseClass |
RygelHTTPByteSeekResponse * rygel_http_byte_seek_response_new (gint64 start_byte
,gint64 end_byte
,gint64 total_size
);
RygelHTTPByteSeekResponse *
rygel_http_byte_seek_response_new_from_request
(RygelHTTPByteSeekRequest *request
);
gint64
rygel_http_byte_seek_response_get_start_byte
(RygelHTTPByteSeekResponse *self
);
Get and return the current value of the "start-byte" property.
The start of the range in bytes
void rygel_http_byte_seek_response_set_start_byte (RygelHTTPByteSeekResponse *self
,gint64 value
);
Set the value of the "start-byte" property to value
.
The start of the range in bytes
self |
the RygelHTTPByteSeekResponse instance to modify |
|
value |
the new value of the "start-byte" property |
gint64
rygel_http_byte_seek_response_get_end_byte
(RygelHTTPByteSeekResponse *self
);
Get and return the current value of the "end-byte" property.
The end of the range in bytes (inclusive)
void rygel_http_byte_seek_response_set_end_byte (RygelHTTPByteSeekResponse *self
,gint64 value
);
Set the value of the "end-byte" property to value
.
The end of the range in bytes (inclusive)
self |
the RygelHTTPByteSeekResponse instance to modify |
|
value |
the new value of the "end-byte" property |
gint64
rygel_http_byte_seek_response_get_range_length
(RygelHTTPByteSeekResponse *self
);
Get and return the current value of the "range-length" property.
The length of the range in bytes
gint64
rygel_http_byte_seek_response_get_total_size
(RygelHTTPByteSeekResponse *self
);
Get and return the current value of the "total-size" property.
The length of the resource in bytes
void rygel_http_byte_seek_response_set_total_size (RygelHTTPByteSeekResponse *self
,gint64 value
);
Set the value of the "total-size" property to value
.
The length of the resource in bytes
self |
the RygelHTTPByteSeekResponse instance to modify |
|
value |
the new value of the "total-size" property |
#define RYGEL_TYPE_HTTP_BYTE_SEEK_RESPONSE (rygel_http_byte_seek_response_get_type ())
The type for RygelHTTPByteSeekResponse.
struct RygelHTTPByteSeekResponseClass { RygelHTTPResponseElementClass parent_class; };
The class structure for RYGEL_TYPE_HTTP_BYTE_SEEK_RESPONSE
. All the fields in this structure are private and should never be accessed directly.
“end-byte”
property“end-byte” gint64
The end of the range in bytes (inclusive)
Owner: RygelHTTPByteSeekResponse
Flags: Read / Write
Default value: 0
“range-length”
property“range-length” gint64
The length of the range in bytes
Owner: RygelHTTPByteSeekResponse
Flags: Read
Default value: 0
“start-byte”
property“start-byte” gint64
The start of the range in bytes
Owner: RygelHTTPByteSeekResponse
Flags: Read / Write
Default value: 0
“total-size”
property“total-size” gint64
The length of the resource in bytes
Owner: RygelHTTPByteSeekResponse
Flags: Read / Write
Default value: 0