pam_wrapper  1.0.2
Data Fields
pamtest_conv_data Struct Reference

This structure should be used when using run_pamtest, which uses an internal conversation function. More...

#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_TEXT_INFO. More...
 
char ** out_info
 Captures messages through PAM_ERROR_MSG. More...
 

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_TEXT_INFO.

The test caller is responsible for allocating enough space in the array.

char** pamtest_conv_data::out_info

Captures messages through PAM_ERROR_MSG.

The test caller is responsible for allocating enough space in the array.


The documentation for this struct was generated from the following file: