Gets the size of an object in the cache.
INKReturnCode INKVConnCacheObjectSizeGet (INKVConn
connp
, int
*obj_size
)
INKConn
is the vconnection
to the cache.connp
int *
is
set to the object size.obj_size
When a cached object is requested from the cache (using
INKCacheRead
) and if the cache open was
successful, then this function can be called to get the size of the
object in the cache.
INK_SUCCESS
if the API is called
successfully.
INK_ERROR
if an error occurs while calling
the API or if an argument is invalid.