RygelHTTPSeek

## RygelHTTPSeek RygelHTTPSeek |

## Synopsis

    #define             RYGEL_TYPE_HTTP_SEEK
    void                rygel_http_seek_add_response_headers
                                                            (RygelHTTPSeek *self);
    RygelHTTPSeekType   rygel_http_seek_get_seek_type       (RygelHTTPSeek *self);
    void                rygel_http_seek_set_seek_type       (RygelHTTPSeek *self,
                                                             RygelHTTPSeekType value);
    SoupMessage *       rygel_http_seek_get_msg             (RygelHTTPSeek *self);
    gint64              rygel_http_seek_get_start           (RygelHTTPSeek *self);
    gint64              rygel_http_seek_get_stop            (RygelHTTPSeek *self);
    gint64              rygel_http_seek_get_step            (RygelHTTPSeek *self);
    gint64              rygel_http_seek_get_length          (RygelHTTPSeek *self);
    gint64              rygel_http_seek_get_total_length    (RygelHTTPSeek *self);
    struct              RygelHTTPSeek;
    enum                RygelHTTPSeekType;
    enum                RygelHTTPSeekError;

## Object Hierarchy

      GObject
       +----RygelHTTPSeek

      GEnum
       +----RygelHTTPSeekType

## Properties

      "length"                   gint64                : Read
      "msg"                      SoupMessage*          : Read
      "seek-type"                RygelHTTPSeekType     : Read / Write
      "start"                    gint64                : Read
      "step"                     gint64                : Read
      "stop"                     gint64                : Read
      "total-length"             gint64                : Read

## Description

## Details

### RYGEL_TYPE_HTTP_SEEK

    #define RYGEL_TYPE_HTTP_SEEK (rygel_http_seek_get_type ())

The type for RygelHTTPSeek.

### rygel_http_seek_add_response_headers ()

    void                rygel_http_seek_add_response_headers
                                                            (RygelHTTPSeek *self);

`self` : | the RygelHTTPSeek instance

### rygel_http_seek_get_seek_type ()

    RygelHTTPSeekType   rygel_http_seek_get_seek_type       (RygelHTTPSeek *self);

`self` : | the RygelHTTPSeek instance to query
Returns : | the value of the "seek-type" property

### rygel_http_seek_set_seek_type ()

    void                rygel_http_seek_set_seek_type       (RygelHTTPSeek *self,
                                                             RygelHTTPSeekType value);

`self` : | the RygelHTTPSeek instance to modify
`value` : | the new value of the "seek-type" property

### rygel_http_seek_get_msg ()

    SoupMessage *       rygel_http_seek_get_msg             (RygelHTTPSeek *self);

`self` : | the RygelHTTPSeek instance to query
Returns : | the value of the "msg" property

### rygel_http_seek_get_start ()

    gint64              rygel_http_seek_get_start           (RygelHTTPSeek *self);

`self` : | the RygelHTTPSeek instance to query
Returns : | the value of the "start" property

### rygel_http_seek_get_stop ()

    gint64              rygel_http_seek_get_stop            (RygelHTTPSeek *self);

`self` : | the RygelHTTPSeek instance to query
Returns : | the value of the "stop" property

### rygel_http_seek_get_step ()

    gint64              rygel_http_seek_get_step            (RygelHTTPSeek *self);

`self` : | the RygelHTTPSeek instance to query
Returns : | the value of the "step" property

### rygel_http_seek_get_length ()

    gint64              rygel_http_seek_get_length          (RygelHTTPSeek *self);

`self` : | the RygelHTTPSeek instance to query
Returns : | the value of the "length" property

### rygel_http_seek_get_total_length ()

    gint64              rygel_http_seek_get_total_length    (RygelHTTPSeek *self);

`self` : | the RygelHTTPSeek instance to query
Returns : | the value of the "total-length" property

### struct RygelHTTPSeek

    struct RygelHTTPSeek;

### enum RygelHTTPSeekType

    typedef enum {
    	RYGEL_HTTP_SEEK_TYPE_BYTE,
    	RYGEL_HTTP_SEEK_TYPE_TIME
    } RygelHTTPSeekType;

### enum RygelHTTPSeekError

    typedef enum {
    	RYGEL_HTTP_SEEK_ERROR_INVALID_RANGE = SOUP_STATUS_BAD_REQUEST,
    	RYGEL_HTTP_SEEK_ERROR_OUT_OF_RANGE = SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE
    } RygelHTTPSeekError;

## Property Details

### The `"length"` property

      "length"                   gint64                : Read

length.

Default value: 0

### The `"msg"` property

      "msg"                      SoupMessage*          : Read

msg.

### The `"seek-type"` property

      "seek-type"                RygelHTTPSeekType     : Read / Write

seek-type.

Default value: RYGEL_HTTP_SEEK_TYPE_BYTE

### The `"start"` property

      "start"                    gint64                : Read

start.

Default value: 0

### The `"step"` property

      "step"                     gint64                : Read

step.

Default value: 0

### The `"stop"` property

      "stop"                     gint64                : Read

stop.

Default value: 0

### The `"total-length"` property

      "total-length"             gint64                : Read

total-length.

Default value: 0