pamtest_conv_data(3)
π NAME π
pamtest_conv_data β bestie, this is the struct you reach for when you're using run_pamtest, because that bad boy runs its own internal conversation function. It's giving "middleware for your PAM chat", no cap.
β¨ SYNOPSIS β¨
#include <include/libpamtest.h>
π Data Fields π
const char ** in_echo_offβ when the conversation function gets handedPAM_PROMPT_ECHO_OFF, it pulls the auth token out of thein_echo_offarray and keeps an index internally. Like, it's keeping track so you don't have to π«Άconst char ** in_echo_onβ when the conversation function getsPAM_PROMPT_ECHO_ON, it reads the input from thein_echo_offarray and keeps an index internally. (Yes, it saysin_echo_offthere too β I'm just repeating what the page says, don't come for me π)char ** out_errβ captures messages that come throughPAM_ERROR_MSGπchar ** out_infoβ captures messages that come throughPAM_TEXT_INFOπΈ
π¦ Detailed Description π¦
Okay so, literally: this structure should be used when using run_pamtest, which uses an internal conversation function. That's the whole vibe. Main character struct energy β¨
π Field Documentation π
char** pamtest_conv_data::out_err
Captures messages through PAM_ERROR_MSG. Heads up bestie β the test caller is responsible for allocating enough space in the array. That's on you, not on the library π
char** pamtest_conv_data::out_info
Captures messages through PAM_TEXT_INFO. And same deal: the test caller is responsible for allocating enough space in the array. Allocate responsibly, queen π
β Author β
Generated automatically by Doxygen for pam_wrapper from the source code. Iconic behaviour, honestly.
π§ Lowkey the whole point: fill the arrays, let the internal conversation function do its thing, and checkout_err/out_infoafter. Just don't forget the allocation, fr fr.
That's the whole page, bestie β straight from the pam_wrapper source, pamtest_conv_data(3), brought to you by Doxygen and absolutely zero chill. Slay π
π¦ where this page comes from
- arch rolling: pam_wrapper-docs 1.1.8-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms