![]() |
![]() |
![]() |
gURLChecker Reference Manual | ![]() |
---|
cachecache — Manage pages content files work. |
void uc_cache_change_id (const guint32 old, const guint32 new); gchar* uc_cache_get_source (const guint32 id, gsize *length); void uc_cache_append_source (const guint32 id, gchar *src, const gsize length);
void uc_cache_change_id (const guint32 old, const guint32 new);
Replace "old" with "new" (swap cached files). Mainly used after rescanning a link.
old : |
Old UCLinkProperties node id. |
new : |
New UCLinkProperties node id. |
gchar* uc_cache_get_source (const guint32 id, gsize *length);
Retreive the source page in cache for a link.
id : |
UCLinkProperties node id of the wanted link content. |
length : |
Set this argument with the size of the returned buffer. |
Returns : | The source code of the given UCLinkProperties node id. |
void uc_cache_append_source (const guint32 id, gchar *src, const gsize length);
Put a source page in the cache.
id : |
UCLinkProperties node id of the element to put in cache. |
src : |
Content to work with. |
length : |
Lenght of the given buffer. |
<< bookmarks | callbacks >> |