| 4758 | |
| 4759 | |
| 4760 | static Rtr* make_transaction (Rdb* rdb, ITransaction* iface) |
| 4761 | { |
| 4762 | /************************************** |
| 4763 | * |
| 4764 | * m a k e _ t r a n s a c t i o n |
| 4765 | * |
| 4766 | ************************************** |
| 4767 | * |
| 4768 | * Functional description |
| 4769 | * Create a local transaction iface. |
| 4770 | * |
| 4771 | **************************************/ |
| 4772 | Rtr* transaction = FB_NEW Rtr; |
| 4773 | transaction->rtr_rdb = rdb; |
| 4774 | transaction->rtr_iface = iface; |
| 4775 | if (transaction->rtr_id = rdb->rdb_port->get_id(transaction)) |
| 4776 | { |
| 4777 | transaction->rtr_next = rdb->rdb_transactions; |
| 4778 | rdb->rdb_transactions = transaction; |
| 4779 | } |
| 4780 | else |
| 4781 | { |
| 4782 | delete transaction; |
| 4783 | transaction = NULL; |
| 4784 | } |
| 4785 | |
| 4786 | return transaction; |
| 4787 | } |
| 4788 | |
| 4789 | |
| 4790 | static void ping_connection(rem_port* port, PACKET* send) |
no test coverage detected