post_event_read

March 26, 2020

Name

post_event_read

Synopsis

#include "hooks/core/post_event_read.h"

| void **post_event_read** ( | closure, |   |
|   | e, |   |
|   | buf, |   |
|   | buflen); |   |

void * <var class="pdparam">closure</var>;
Event * <var class="pdparam">e</var>;
const char * <var class="pdparam">buf</var>;
ssize_t <var class="pdparam">buflen</var>;

| int **has_core_post_event_read_hook** ( | ); |   |

| void **register_core_post_event_read_hook_first** ( | hook, |   |
|   | closure); |   |

ec_hook_core_post_event_read_func_t <var class="pdparam">hook</var>;
void *<var class="pdparam">closure</var>;

| void **register_core_post_event_read_hook_last** ( | hook, |   |
|   | closure); |   |

ec_hook_core_post_event_read_func_t <var class="pdparam">hook</var>;
void *<var class="pdparam">closure</var>;

| void **call_core_post_event_read_hook** ( | e, |   |
|   | buf, |   |
|   | buflen); |   |

Event * <var class="pdparam">e</var>;
const char * <var class="pdparam">buf</var>;
ssize_t <var class="pdparam">buflen</var>;

Description

post_event_read is called immediately after a successful read on the Event e if e->trace is true.