Soup.MessageHeadersIter.next
Description: Reference for Soup.MessageHeadersIter.next

### Function

# Soup MessageHeadersIternext

#### Declaration [src]

    gboolean
    soup_message_headers_iter_next (
      SoupMessageHeadersIter* iter,
      const char** name,
      const char** value
    )

#### Description [src]

Yields the next name/value pair in the `SoupMessageHeaders` being iterated by `iter`.

If `iter` has already yielded the last header, then `soup_message_headers_iter_next()` will return `FALSE` and `name` and `value` will be unchanged.

#### Parameters

`iter`

  Type: `SoupMessageHeadersIter`

  A `SoupMessageHeadersIter`.

  The argument will be modified by the function.
  The returned data is owned by the function.

`name`

  Type: `const char**`

  Pointer to a variable to return the header name in.

  The argument will be set by the function.
  The returned data is owned by the function.
  The value is a NUL terminated UTF-8 string.

`value`

  Type: `const char**`

  Pointer to a variable to return the header value in.

  The argument will be set by the function.
  The returned data is owned by the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `gboolean`

`TRUE` if another name and value were returned, `FALSE` if the end of the headers has been reached.