added verbosity level to stroke

This commit is contained in:
Martin Willi
2006-10-24 08:44:47 +00:00
parent 22d0ab1343
commit 5c4cc9a4e3
4 changed files with 31 additions and 8 deletions
+2
View File
@@ -57,6 +57,8 @@ static int send_stroke_msg (stroke_msg_t *msg)
char buffer[64];
int byte_count;
msg->output_verbosity = 1; /* CONTROL */
sock = socket(AF_UNIX, SOCK_STREAM, 0);
if (sock < 0)
{
+3
View File
@@ -122,6 +122,9 @@ struct stroke_msg_t {
STR_REREAD
/* more to come */
} type;
/* verbosity of output returned from charon (-from -1=silent to 4=private)*/
int output_verbosity;
union {
/* data for STR_INITIATE, STR_ROUTE, STR_UP, STR_DOWN, ... */