Mercury
|
#include "na.h"
Go to the source code of this file.
Classes | |
struct | na_info |
struct | na_class_info |
struct | na_context |
struct | na_class |
Macros | |
#define | NA_UNUSED |
Typedefs | |
typedef void(* | na_plugin_cb_t )(struct na_cb_info *callback_info, void *arg) |
typedef void * | na_plugin_context_t |
Functions | |
NA_EXPORT na_return_t | na_cb_completion_add (na_context_t *context, na_cb_t callback, struct na_cb_info *callback_info, na_plugin_cb_t plugin_callback, void *plugin_callback_args) |
Add callback to context completion queue. More... | |
#define NA_UNUSED |
Definition at line 22 of file na_private.h.
typedef void(* na_plugin_cb_t)(struct na_cb_info *callback_info, void *arg) |
Definition at line 42 of file na_private.h.
typedef void* na_plugin_context_t |
Definition at line 46 of file na_private.h.
NA_EXPORT na_return_t na_cb_completion_add | ( | na_context_t * | context, |
na_cb_t | callback, | ||
struct na_cb_info * | callback_info, | ||
na_plugin_cb_t | plugin_callback, | ||
void * | plugin_callback_args | ||
) |
Add callback to context completion queue.
context | [IN] pointer to context of execution |
callback | [IN] pointer to function |
callback_info | [IN] callback info struct |
plugin_callback | [IN] Callback which will be called after the user callback returns. |
plugin_callback_args | [IN] Argument to pass to the plugin_callback |