![]() |
![]() |
![]() |
Schroot Reference Manual | ![]() |
---|
SbuildAuthConvTtySbuildAuthConvTty — authentication terminal conversation object |
SbuildAuthConvTty; SbuildAuthConvTtyClass; SbuildAuthConvTty* sbuild_auth_conv_tty_new (void);
This class is an implementation of the SbuildAuthConv interface, and is used to interact with the user on a terminal (TTY) interface.
In order to implement timeouts, this class uses alarm(2). This has some important implications. Global state is modified by the object, so only one may be used at once in a single process. In addition, no other part of the process may set or unset the SIGALRM handlers and the alarm(2) timer during the time PAM authentication is proceeding.
typedef struct { GObjectClass parent; } SbuildAuthConvTtyClass;
SbuildAuthConvTty class.
GObjectClass parent ; |
the parent class |
SbuildAuthConvTty* sbuild_auth_conv_tty_new (void);
Creates a new SbuildAuthConvTty. The warning timeout and fatal timeout are initially set to 0 (as per the property defaults).
Returns : | the newly created SbuildAuthConvTty. |
<< SbuildAuthConv | SbuildSession >> |