Function anjay_etag_clone

Function Documentation

anjay_etag_t *anjay_etag_clone(const anjay_etag_t *old_etag)

Given one ETag, creates a new one, with the same size and value. The new ETag can be freed using avs_free.

Parameters:

old_etag – Pointer to old ETag copy

Returns:

Pointer to created ETag copy, NULL on failure