OpenCPN Partial API docs
Loading...
Searching...
No Matches
plugin_cache.h File Reference

Downloaded plugins cache. More...

#include <string>

Go to the source code of this file.

Namespaces

namespace  ocpn
 Standard, mostly strings utilities.
 

Functions

bool ocpn::store_metadata (const char *path)
 Store metadata in metadata cache, return success/fail.
 
std::string ocpn::lookup_metadata (const char *name=0)
 Get metadata path for a given name defaulting to ocpn-plugins.xml)
 
bool ocpn::store_tarball (const char *path, const char *basename)
 Store a tarball in tarball cache, return success/fail.
 
std::string ocpn::lookup_tarball (const char *basename)
 Get path to tarball in cache for given filename.
 
unsigned ocpn::cache_file_count ()
 Return number of files in cache.
 
unsigned long ocpn::cache_size ()
 Return total size of files in cache in kbytes.
 
void ocpn::cache_clear ()
 Remove all files in cache:
 

Detailed Description

Downloaded plugins cache.

Definition in file plugin_cache.h.