# DSRequestOpcode

Request operation code enumeration.

### Synopsis

    typedef enum DSRequestOpcode {
       kDSOpPreRollStream  0,
       kDSOpCloseStream,
       kDSOpWaitEndOfStream,
       kDSOpStartStream,
       kDSOpStopStream,
       kDSOpSubscribe,
       kDSOpGoMarker,
       kDSOpGetChannel,
       kDSOpSetChannel,
       kDSOpControl,
       kDSOpConnect,
       kDSOpSetSkipMode,
       kDSOpLastOp
     }

### Description

Used as the type selector for DSRequestMsg.

### Fields

`kDSOpPreRollStream`
  0
  Preload all possible buffers.

`kDSOpCloseStream`
  Close the stream.

The following messages have arguments that are passed in the `msg' extension of the request message.

`kDSOpStartStream`
  Start data flowing.

`kDSOpStopStream`
  Stop data flowing.

`kDSOpSubscribe`
  Add a subscribe.

`kDSOpGoMarker`
  Position stream to a marker.

`kDSOpGetChannel`
  Get channel status.

`kDSOpSetChannel`
  Set channel status.

`kDSOpControl`
  Perform subscriber dependent control.

`kDSOpConnect`
  Connect data client to stream.

`kDSOpSetSkipMode`
  Go into skip mode (ShuttlePlayer only).

`kDSOpLastOp`
  Last operation.

### Associated Files

DataStream.h