Added stroke user-creds command, to set username/password for a connection.

This commit is contained in:
Tobias Brunner
2012-04-17 14:20:58 +02:00
parent 7b00fdeb84
commit 9f1b303afc
7 changed files with 204 additions and 2 deletions
+9
View File
@@ -218,6 +218,8 @@ struct stroke_msg_t {
STR_EXPORT,
/* print memory usage details */
STR_MEMUSAGE,
/* set username and password for a connection */
STR_USER_CREDS,
/* more to come */
} type;
@@ -340,6 +342,13 @@ struct stroke_msg_t {
char *pool;
char *address;
} leases;
/* data for STR_USER_CREDS */
struct {
char *name;
char *username;
char *password;
} user_creds;
};
char buffer[STROKE_BUF_LEN];
};