]> rtime.felk.cvut.cz Git - frescor/forb.git/commitdiff
Merge last commit with my working version
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 29 Aug 2008 13:06:32 +0000 (15:06 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 29 Aug 2008 13:06:32 +0000 (15:06 +0200)
proto.c

diff --git a/proto.c b/proto.c
index f7b47ff67cef20cb6338bf358ccf98e869722638..ccb46c27f2f122a316cc6cf38b423ff554ec4273 100644 (file)
--- a/proto.c
+++ b/proto.c
@@ -88,21 +88,15 @@ size_t forb_proto_send(forb_conn_t *conn, CDR_Codec *codec)
                                       codec->wptr - codec->rptr);
 }
 
+
 forb_conn_t *
-forb_get_connection(forb_t *forb, forb_server_id_t *server, CORBA_Environment *env)
+forb_get_connection(forb_t *forb, forb_server_id *server, CORBA_Environment *env)
 {
-       forb_port_t *port;
-       
-       fosa_mutex_lock(&forb->port_mutex);
-       ul_list_for_each(forb_port, forb, port) {
-               
-       }
-       fosa_mutex_unlock(&forb->port_mutex);
-       return NULL;
 }
+
 void 
 forb_put_connection(forb_conn_t *conn)
 {
-       /* TODO */
+       /* TODO: Decrease reference count */
 }