]> rtime.felk.cvut.cz Git - frescor/forb.git/blobdiff - src/request.h
Struct request adjusted for inter-executor invocation.
[frescor/forb.git] / src / request.h
index 1b1d0fc9c1fa39b4931ee573f2027160c7b74154..03c59ac1ac1cb7e7d036be2224974569a4f4cf7e 100644 (file)
@@ -66,7 +66,6 @@
 #include <forb/forb-internal.h>
 
 
-
 /**
  * Helper structure for sending ORB requests.
  *
@@ -81,6 +80,8 @@ struct forb_request {
        FORB_CDR_Codec *cdr_reply;      /**< Buffer with received reply. */
        gavl_node_t node;       /**< forb_t::requests node */
        forb_object obj;        /**< Object being requested. */
+       unsigned method_ind;    /**< Inddex of a method being requested. */
+       char *interface;        /**< Interface being requested. */
        struct forb_env *env;   /**< Where to store exception returned in reply */
        forb_syncobj_t reply_ready; /**< Synchronization object for waiting for reply */
        forb_syncobj_t *reply_processed; /**< Synchronization object for receiver thread to wait for stub. */
@@ -127,7 +128,7 @@ forb_request_find(forb_t *forb, CORBA_unsigned_long *request_id)
 }
 
 int
-forb_request_init(forb_request_t *req, forb_object obj);
+forb_request_init(forb_request_t *req, forb_object obj, char *iface, unsigned method_ind);
 void
 forb_request_destroy(forb_request_t *req);
 void