pam_conv.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
  4. <section id='mwg-pam_conv'>
  5. <title>The conversation function</title>
  6. <funcsynopsis>
  7. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  8. href="../man/pam_conv.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_conv-synopsis"]/*)'/>
  9. </funcsynopsis>
  10. <programlisting>
  11. struct pam_message {
  12. int msg_style;
  13. const char *msg;
  14. };
  15. struct pam_response {
  16. char *resp;
  17. int resp_retcode;
  18. };
  19. struct pam_conv {
  20. int (*conv)(int num_msg, const struct pam_message **msg,
  21. struct pam_response **resp, void *appdata_ptr);
  22. void *appdata_ptr;
  23. };
  24. </programlisting>
  25. <section id='mwg-pam_conv-description'>
  26. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  27. href="../man/pam_conv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_conv-description"]/*)'/>
  28. </section>
  29. <section id='mwg-pam_conv-return_values'>
  30. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  31. href="../man/pam_conv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_conv-return_values"]/*)'/>
  32. </section>
  33. </section>