Lines Matching defs:iceConn
43 IceConn iceConn;
73 if ((iceConn = malloc (sizeof (struct _IceConn))) == NULL)
80 iceConn->listen_obj = listenObj;
82 iceConn->waiting_for_byteorder = True;
83 iceConn->connection_status = IceConnectPending;
84 iceConn->io_ok = True;
85 iceConn->dispatch_level = 0;
86 iceConn->context = NULL;
87 iceConn->my_ice_version_index = 0;
89 iceConn->trans_conn = newconn;
90 iceConn->send_sequence = 0;
91 iceConn->receive_sequence = 0;
93 iceConn->connection_string = strdup(listenObj->network_id);
95 if (iceConn->connection_string == NULL)
98 free (iceConn);
103 iceConn->vendor = NULL;
104 iceConn->release = NULL;
106 if ((iceConn->inbuf = iceConn->inbufptr = malloc (ICE_INBUFSIZE)) != NULL)
108 iceConn->inbufmax = iceConn->inbuf + ICE_INBUFSIZE;
113 free (iceConn->connection_string);
114 free (iceConn);
119 if ((iceConn->outbuf = iceConn->outbufptr = malloc (ICE_OUTBUFSIZE)) != NULL)
121 iceConn->outbufmax = iceConn->outbuf + ICE_OUTBUFSIZE;
126 free (iceConn->connection_string);
127 free (iceConn->inbuf);
128 free (iceConn);
133 iceConn->scratch = NULL;
134 iceConn->scratch_size = 0;
136 iceConn->open_ref_count = 1;
137 iceConn->proto_ref_count = 0;
139 iceConn->skip_want_to_close = False;
140 iceConn->want_to_close = False;
141 iceConn->free_asap = False;
143 iceConn->saved_reply_waits = NULL;
144 iceConn->ping_waits = NULL;
146 iceConn->process_msg_info = NULL;
148 iceConn->connect_to_you = NULL;
149 iceConn->protosetup_to_you = NULL;
151 iceConn->connect_to_me = NULL;
152 iceConn->protosetup_to_me = NULL;
159 IceGetHeader (iceConn, 0, ICE_ByteOrder,
168 IceFlush (iceConn);
174 * Notify the watch procedures that an iceConn was opened.
177 _IceConnectionOpened (iceConn);
182 return (iceConn);