| Top |
| gchar * | gtuber_cache_plugin_read () |
| void | gtuber_cache_plugin_write () |
| void | gtuber_cache_plugin_write_epoch () |
gchar * gtuber_cache_plugin_read (const gchar *plugin_name,const gchar *key);
Reads the value of a given plugin name with key.
This is mainly useful for plugin development.
void gtuber_cache_plugin_write (const gchar *plugin_name,const gchar *key,const gchar *val,gint64 exp);
Writes the value of a given plugin name with key. This function uses time in seconds to set how long cached value will stay valid.
This is mainly useful for plugin development.
void gtuber_cache_plugin_write_epoch (const gchar *plugin_name,const gchar *key,const gchar *val,gint64 epoch);
Writes the value of a given plugin name with key. This function uses epoch time to set date when cached value will expire.
This is mainly useful for plugin development.