libamxb  4.8.2
Bus Agnostic C API
amxb_invoke.h File Reference

Ambiorix Bus Agnostic Remote Function Invocation API. More...

#include <amxb/amxb_types.h>

Go to the source code of this file.

Functions

int amxb_new_invoke (amxb_invoke_t **invoke_ctx, amxb_bus_ctx_t *const ctx, const char *object, const char *interface, const char *method)
 Prepares a remote function invocation. More...
 
void amxb_free_invoke (amxb_invoke_t **invoke_ctx)
 Deletes a function invoke context, and frees allocated memory. More...
 
int amxb_invoke (amxb_invoke_t *invoke_ctx, amxc_var_t *args, amxc_var_t *ret, amxb_be_cb_fn_t fn, void *priv, int timeout)
 Invokes a remote function, as defined by the function invoke context. More...
 
int amxb_async_invoke (amxb_invoke_t *invoke_ctx, amxc_var_t *args, amxb_be_cb_fn_t fn, amxb_be_done_cb_fn_t done_fn, void *priv, amxb_request_t **req)
 Invokes a remote function, as defined by the function invoke context. More...
 
int amxb_wait_for_request (amxb_request_t *req, int timeout)
 Waits for an asynchronous remote function invoke to finish. More...
 
int amxb_request_new (amxb_request_t **request)
 Allocates an empty amxb_request_t. More...
 
amxb_bus_ctx_tamxb_request_get_ctx (amxb_request_t *request)
 Get the bus context of the request if any. More...
 
int amxb_close_request (amxb_request_t **req)
 Closes a previously create remote function called context. More...
 

Detailed Description

Ambiorix Bus Agnostic Remote Function Invocation API.

Definition in file amxb_invoke.h.