]> rtime.felk.cvut.cz Git - frescor/forb.git/blobdiff - src/forb.h
forb: Add support for synchronized initialization of multiple servers
[frescor/forb.git] / src / forb.h
index 60d6842c998fbd5a57438c89a6c817ff196a7328..2e4a2c4623a79e0ee51cdf2cb98bdf7baa0bdcc4 100644 (file)
@@ -160,6 +160,7 @@ typedef struct forb_init_attr {
        void (*peer_dead_callback)(const forb_orb peer_orb, const char *orb_id);
        uint16_t fixed_tcp_port; /**< If we want FORB's inet protocol to listen on a fixed port... */
        forb_server_id fixed_server_id; /**< If we do not want the ID to be random. (HACK) */
+       bool redistribute_hellos;
 
 } forb_init_attr_t;
 
@@ -167,8 +168,10 @@ typedef struct forb_init_attr {
  * Initializes FORB. This function has to be called before any other
  * FORB function.
  * 
- * Any command line arguments used by FORB are removed from the array
- * and @a argc and @a argv are updated accordingly.
+ * Any command line arguments used by FORB are removed from the @a
+ * argv array and @a argc is updated accordingly.
+ *
+ * @note Currently, no command line arguments are used by FORB.
  * 
  * @param argc a pointer to the number of command line arguments.
  * @param argv a pointer to the array of command line arguments.
@@ -225,6 +228,15 @@ forb_get_req_source(const forb_object obj, forb_server_id *req_source);
 const char *
 forb_strerror(CORBA_Environment *env);
 
+void
+forb_daemon_prepare(const char *pid);
+
+void
+forb_daemon_ready();
+
+int
+forb_signal_server_ready();    
+
 #ifdef __cplusplus
 } /* extern "C"*/
 #endif