#include <forb/refcnt.h>
#include <forb/basic_types.h>
#include <forb/executor.h>
+#include <forb/exec_req.h>
/**
* Object reference structure.
* are executed in. */
forb_executor_t *executor;
+ /**
+ * Pointer to the execute request in case of remote
+ * invocation.
+ *
+ * @warning If the object can be called both localy and
+ * remotely this field may contain wrong value as the local
+ * and remote requests can be executed in parallel, in
+ * different threads. This will be fixed after even local
+ * invocations will be executed through executors. */
+ forb_exec_req_t *exec_req;
+
gavl_node_t node; /**< Node for forb->objects tree */
/*@}*/
};