diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-07-20 17:56:37 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-07-20 17:56:37 +0200 |
commit | d6843258f0043ec340c0ca1825b0cbf8bb023a7c (patch) | |
tree | c6bbd91a4ebefefba0085d614da4878952448808 /src/pevent.h | |
parent | 8483b214ff143a2b019fd9adf15dba1b0dcfffb5 (diff) |
pevent documentation/ print warning on i/o buffer bloat
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/pevent.h')
-rw-r--r-- | src/pevent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pevent.h b/src/pevent.h index 9384405..585fc46 100644 --- a/src/pevent.h +++ b/src/pevent.h @@ -52,6 +52,7 @@ typedef enum forward_state { CON_IN_ERROR, CON_OUT_ERROR } forward_state; +/* event buffer; used for input/output buffering */ typedef struct event_buf { int fd; @@ -61,6 +62,7 @@ typedef struct event_buf { void *buf_user_data; } event_buf; +/* event context; represents a global, per event queue state */ typedef struct event_ctx { int active; int has_error; |