---
name: "pamtest_conv_data"
section: "3"
platform: "linux"
package: "pam_wrapper-docs"
version: "1.1.8-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pamtest_conv_data"
---

# pamtest\_conv\_data(3)

This structure should be used when using run\_pamtest, which uses an internal conversation function.

## NAME

pamtest\_conv\_data - This structure should be used when using run\_pamtest, which uses an internal conversation function.

## SYNOPSIS

\#include \<include/libpamtest.h\>

### Data Fields

const char \*\* **in\_echo\_off**\
 When the conversation function receives PAM\_PROMPT\_ECHO\_OFF, it reads the auth token from the in\_echo\_off array and keeps an index internally.  const char \*\* **in\_echo\_on**\
 When the conversation function receives PAM\_PROMPT\_ECHO\_ON, it reads the input from the in\_echo\_off array and keeps an index internally.  char \*\* **out\_err**\
 Captures messages through PAM\_ERROR\_MSG.  char \*\* **out\_info**\
 Captures messages through PAM\_TEXT\_INFO.

## Detailed Description

This structure should be used when using run\_pamtest, which uses an internal conversation function.

## Field Documentation

### char\*\* pamtest\_conv\_data::out\_err

Captures messages through PAM\_ERROR\_MSG. The test caller is responsible for allocating enough space in the array.

### char\*\* pamtest\_conv\_data::out\_info

Captures messages through PAM\_TEXT\_INFO. The test caller is responsible for allocating enough space in the array.

## Author

Generated automatically by Doxygen for pam\_wrapper from the source code.
