Clapper.Queue.insert_item_after

### Method

# Clapper Queueinsert_item_after

since: 0.10

#### Declaration [src]

    void
    clapper_queue_insert_item_after (
      ClapperQueue* queue,
      ClapperMediaItem* item,
      ClapperMediaItem* after_item
    )

#### Description [src]

Insert another `ClapperMediaItem` after some other item position.

If `after_item` is `NULL`, item will be prepended. When set but not found however, item will be appended at the end of queue.

If item is already in queue, this function will do nothing, so it is safe to call multiple times if unsure.

Available since: 0.10

#### Parameters

`item`

  Type: `ClapperMediaItem`

  A `ClapperMediaItem`.

  The data is owned by the caller of the method.

`after_item`

  Type: `ClapperMediaItem`

  A `ClapperMediaItem` after which to insert `item` or `NULL` to prepend.

  The argument can be `NULL`.
  The data is owned by the caller of the method.