version 1.625, 2016/04/29 13:21:33 |
version 1.626, 2016/04/29 13:36:10 |
|
|
/* Automatic name refresh interval, in microseconds. Must be < 1 second. */ |
/* Automatic name refresh interval, in microseconds. Must be < 1 second. */ |
#define NAME_INTERVAL 500000 |
#define NAME_INTERVAL 500000 |
|
|
/* |
/* The maximum amount of data to hold from a pty (the event high watermark). */ |
* READ_SIZE is the maximum size of data to hold from a pty (the event high |
#define READ_SIZE 128 |
* watermark). READ_BACKOFF is the amount of data waiting to be output to a tty |
|
* before pty reads will be backed off. READ_TIME is how long to back off |
|
* before the next read (in microseconds) if a tty is above READ_BACKOFF. |
|
*/ |
|
#define READ_SIZE 1024 |
|
#define READ_BACKOFF 512 |
|
#define READ_TIME 100 |
|
|
|
/* Attribute to make gcc check printf-like arguments. */ |
/* Attribute to make gcc check printf-like arguments. */ |
#define printflike(a, b) __attribute__ ((format (printf, a, b))) |
#define printflike(a, b) __attribute__ ((format (printf, a, b))) |
|
|
|
|
int fd; |
int fd; |
struct bufferevent *event; |
struct bufferevent *event; |
struct event timer; |
|
|
|
struct input_ctx *ictx; |
struct input_ctx *ictx; |
|
|