Gcr.mock_prompter_start
Description: Reference for Gcr.mock_prompter_start

### Function

# Gcrmock_prompter_start

#### Declaration [src]

    const gchar*
    gcr_mock_prompter_start (
      void
    )

#### Description [src]

Start the mock prompter. This is often used from the setup() function of tests.

Starts the mock prompter in an additional thread. Use the returned DBus bus name with `gcr_system_prompt_open_for_prompter()` to connect to this prompter.

#### Return value

Type: `const gchar*`

The bus name that the mock prompter is listening on.

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