| 9563 | |
| 9564 | |
| 9565 | static void release_object(IStatus* status, Rdb* rdb, P_OP op, USHORT id) |
| 9566 | { |
| 9567 | /************************************** |
| 9568 | * |
| 9569 | * r e l e a s e _ o b j e c t |
| 9570 | * |
| 9571 | ************************************** |
| 9572 | * |
| 9573 | * Functional description |
| 9574 | * Tell the server to zap an object. This doesn't necessary |
| 9575 | * release the object, but usually does. |
| 9576 | * |
| 9577 | **************************************/ |
| 9578 | PACKET* packet = &rdb->rdb_packet; |
| 9579 | packet->p_operation = op; |
| 9580 | packet->p_rlse.p_rlse_object = id; |
| 9581 | |
| 9582 | if (rdb->rdb_port->port_flags & PORT_lazy) |
| 9583 | { |
| 9584 | switch (op) |
| 9585 | { |
| 9586 | case op_close_blob: |
| 9587 | case op_cancel_blob: |
| 9588 | case op_release: |
| 9589 | defer_packet(rdb->rdb_port, packet); |
| 9590 | return; |
| 9591 | default: |
| 9592 | break; |
| 9593 | } |
| 9594 | } |
| 9595 | |
| 9596 | send_packet(rdb->rdb_port, packet); |
| 9597 | receive_response(status, rdb, packet); |
| 9598 | } |
| 9599 | |
| 9600 | |
| 9601 | static void release_request( Rrq* request) |
no test coverage detected