* copy the cache_obj to req_dest * @param req_dest * @param cache_obj */
| 13 | * @param cache_obj |
| 14 | */ |
| 15 | void copy_cache_obj_to_request(request_t *req_dest, |
| 16 | const cache_obj_t *cache_obj) { |
| 17 | req_dest->obj_id = cache_obj->obj_id; |
| 18 | req_dest->obj_size = cache_obj->obj_size; |
| 19 | req_dest->next_access_vtime = cache_obj->misc.next_access_vtime; |
| 20 | req_dest->valid = true; |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * copy the data from request into cache_obj |
no outgoing calls
no test coverage detected