Added stroke user-creds command, to set username/password for a connection.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2012 Tobias Brunner
|
||||
* Copyright (C) 2008 Martin Willi
|
||||
* Hochschule fuer Technik Rapperswil
|
||||
*
|
||||
@@ -52,6 +53,15 @@ struct stroke_config_t {
|
||||
*/
|
||||
void (*del)(stroke_config_t *this, stroke_msg_t *msg);
|
||||
|
||||
/**
|
||||
* Set the username and password for a connection in this backend.
|
||||
*
|
||||
* @param msg received stroke message
|
||||
* @param prompt I/O channel to prompt for the password
|
||||
*/
|
||||
void (*set_user_credentials)(stroke_config_t *this, stroke_msg_t *msg,
|
||||
FILE *prompt);
|
||||
|
||||
/**
|
||||
* Destroy a stroke_config instance.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user