| 3196 | |
| 3197 | |
| 3198 | ISC_STATUS rem_port::end_blob(P_OP operation, P_RLSE * release, PACKET* sendL) |
| 3199 | { |
| 3200 | /************************************** |
| 3201 | * |
| 3202 | * e n d _ b l o b |
| 3203 | * |
| 3204 | ************************************** |
| 3205 | * |
| 3206 | * Functional description |
| 3207 | * End a blob. |
| 3208 | * |
| 3209 | **************************************/ |
| 3210 | Rbl* blob; |
| 3211 | LocalStatus ls; |
| 3212 | CheckStatusWrapper status_vector(&ls); |
| 3213 | |
| 3214 | getHandle(blob, release->p_rlse_object); |
| 3215 | |
| 3216 | if (operation == op_close_blob) |
| 3217 | blob->rbl_iface->close(&status_vector); |
| 3218 | else |
| 3219 | blob->rbl_iface->cancel(&status_vector); |
| 3220 | |
| 3221 | if (!(status_vector.getState() & IStatus::STATE_ERRORS)) |
| 3222 | { |
| 3223 | blob->rbl_iface = NULL; |
| 3224 | release_blob(blob); |
| 3225 | } |
| 3226 | |
| 3227 | return this->send_response(sendL, 0, 0, &status_vector, false); |
| 3228 | } |
| 3229 | |
| 3230 | |
| 3231 | ISC_STATUS rem_port::end_database(P_RLSE* /*release*/, PACKET* sendL) |
no test coverage detected