Home

Traffic Server Software Developers Kit

INKCacheKeyDestroy

Destroys a cache key.

Prototype

INKReturnCode INKCacheKeyDestroy(INKCacheKey key)

Arguments

INKCacheKey key is the key to be destroyed.

Description

Destroys a cache key (deallocates memory). You must destroy cache keys when you are finished with them (i.e., after all reads and writes are completed).

Returns

INK_SUCCESS if the cache key was successfully destroyed.

INK_ERROR if the cache key could not be deallocated or was not valid.