#include <forb/forb-internal.h>
-
/**
* Helper structure for sending ORB requests.
*
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. */
+ unsigned end_of_header_index; /**< Index indicating the end of header of a codec buffer. */
};
typedef struct forb_request forb_request_t;
}
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
forb_request_wait_for_reply(forb_request_t *req);
void
forb_request_signal_processed(forb_request_t *req);
-void
-forb_request_send(forb_request_t *req, CORBA_Environment *env);
-
#endif