search for: received_signal

Displaying 3 results from an estimated 3 matches for "received_signal".

2001 Oct 29
0
signal messages
...===== RCS file: /cvs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.86 diff -u -r1.86 clientloop.c --- clientloop.c 24 Oct 2001 19:57:40 -0000 1.86 +++ clientloop.c 29 Oct 2001 19:08:37 -0000 @@ -103,6 +103,8 @@ */ static volatile int received_window_change_signal = 0; static volatile int received_signal = 0; +/* send signal to remote program: 0 disabled, 1 enabled, 2 pending */ +static volatile int send_signal = 0; /* Flag indicating whether the user\'s terminal is in non-blocking mode. */ static int in_non_blocking_mode = 0; @@ -173,7 +175,10 @@ signal_handler(int sig) { received_sign...
2002 Jan 31
4
signal transmission in ssh2
...vs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.95 diff -u -r1.95 clientloop.c --- clientloop.c 10 Jan 2002 11:24:04 -0000 1.95 +++ clientloop.c 31 Jan 2002 17:17:19 -0000 @@ -103,6 +103,8 @@ */ static volatile sig_atomic_t received_window_change_signal = 0; static volatile sig_atomic_t received_signal = 0; +/* send signal to remote program: 0 disabled, 1 enabled, 2 pending */ +static volatile sig_atomic_t send_signal = 0; /* Flag indicating whether the user\'s terminal is in non-blocking mode. */ static int in_non_blocking_mode = 0; @@ -173,7 +175,10 @@ signal_handler(int sig) { rece...
2006 Sep 06
7
[RFC PATCH] allow connecting to xenconsole from remote hosts
...E 512 + +struct remote { + long port; + int do_listen; + int gateway; + int noecho; + int server; /* server socket */ +}; + +struct message { + struct message *next; + char* data; + size_t len; +}; + +struct queue { + struct message *head; + struct message *tail; +}; static volatile sig_atomic_t received_signal = 0; +static int debug; + +#define dbg(fmt, args...) do { \ + if (debug) \ + _dbg("[%s] " fmt, __func__, ##args); \ +} while (0) + +static int _dbg(const char *fmt, ...) +{ + va_list args; + + va...