| 180 | /* ������¡��Ϣ���ϼ���Ϣ�������� */ |
| 181 | |
| 182 | static void msg_list_clone(ACL_MSGIO *mio_from, ACL_MSGIO *mio_to) |
| 183 | { |
| 184 | MSG_ITEM *msg_from, *msg_to; |
| 185 | ACL_RING_ITER iter; |
| 186 | |
| 187 | acl_ring_foreach(iter, &mio_from->msg_list) { |
| 188 | msg_from = ACL_RING_TO_APPL(iter.ptr, MSG_ITEM, entry); |
| 189 | if (!msg_from->inherit) |
| 190 | continue; |
| 191 | msg_to = msg_new(msg_from->id, msg_from->inherit); |
| 192 | acl_ring_append(&mio_to->msg_list, &msg_to->entry); |
| 193 | msg_clone(msg_from, msg_to); |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | /* ������ϢID��ѯ��Ϣ���� */ |
| 198 |
no test coverage detected
searching dependent graphs…