EBookContacts.BookQuery.field_test
Description: Reference for EBookContacts.BookQuery.field_test

### Function

# EBookContacts BookQueryfield_test

#### Declaration [src]

    EBookQuery*
    e_book_query_field_test (
      EContactField field,
      EBookQueryTest test,
      const gchar* value
    )

#### Description [src]

Creates a new `EBookQuery` which tests `field` for `value` using the test `test`.

#### Parameters

`field`

  Type: `EContactField`

  An `EContactField` to test.

`test`

  Type: `EBookQueryTest`

  The test to apply.

`value`

  Type: `const gchar*`

  The value to test for.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

#### Return value

Type: `EBookQuery`

The new `EBookQuery`.

The caller of the function takes ownership of the data, and is responsible for freeing it.