Constructor
SoupCachenew
Declaration [src]
SoupCache*
soup_cache_new (
const char* cache_dir,
SoupCacheType cache_type
)
Parameters
cache_dir |
const char* |
The directory to store the cached data, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
cache_type |
SoupCacheType |
The |
Return value
Returns: | SoupCache |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |