Add a struct sudo_conv_callback that contains on_suspend and on_resume
function pointer args plus a closure pointer and at it to the conversation function.
This commit is contained in:
@@ -183,7 +183,8 @@ struct timeval;
|
||||
void cleanup(int);
|
||||
|
||||
/* tgetpass.c */
|
||||
char *tgetpass(const char *, int, int);
|
||||
char *tgetpass(const char *prompt, int timeout, int flags,
|
||||
struct sudo_conv_callback *callback);
|
||||
|
||||
/* exec.c */
|
||||
int pipe_nonblock(int fds[2]);
|
||||
|
Reference in New Issue
Block a user