Skip to main content

Name

validate_connect

Synopsis

#include "hooks/core/validate_connect.h"

| void **validate_connect** ( | closure, |   | |   | ac, |   | |   | c); |   |

void * <var class="pdparam">closure</var>; accept_construct * <var class="pdparam">ac</var>; validate_context * <var class="pdparam">c</var>;

| int **has_core_validate_connect_hook** ( | ); |   |

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

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

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

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

| void **call_core_validate_connect_hook** ( | ac, |   | |   | c); |   |

accept_construct * <var class="pdparam">ac</var>; validate_context * <var class="pdparam">c</var>;

Description

This hook is invoked after the normal validate_connect module callback. The only reason to use this hook point instead of a traditional module callback is that you can guarantee an invocation subsequent to all other modules' validate_connect callbacks have been performed. The ctx parameters is the same used in the traditional validate_connect module callback.

Was this page helpful?