Skip to main content

Name

post_event_write

Synopsis

#include "hooks/core/post_event_write.h"

| void **post_event_write** ( | 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_write_hook** ( | ); |   |

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

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

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

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

| void **call_core_post_event_write_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_write is called immediately after a successful write on the Event e if e->trace is true.

Was this page helpful?