#include <vfs.h>
Inheritance diagram for RegistryFs:
Public Member Functions | |
void | init () |
virtual void | done () |
virtual int | canonicalize (char *result, const char *filename, const char *cwd) |
virtual int | createFile (const char *filename, UINT createtype) |
virtual int | deleteFile (const char *filename) |
virtual void * | enumFiletype (UINT *type, char **name, void *handle) |
virtual int | compareFilenames (const char *a, const char *b) |
virtual bool | findFirst (const char *dirname, pfind_t *f) |
virtual bool | findNext (pfind_t *f) |
virtual bool | findClose (pfind_t *f) |
virtual int | getCaps () |
virtual const char * | getProtoName () |
virtual is_path_delim | isPathDelim () |
virtual int | makeDir (const char *dirname) |
virtual int | open (const char *filename, bool edit) |
virtual int | pstat (pstat_t *s, const char *filename) |
virtual int | renameFile (const char *filename, const char *newname) |
virtual int | fileClose (ht_streamfile *f) |
virtual int | fileOpen (const char *filename, UINT access_mode, UINT open_mode, ht_streamfile **f) |
Protected Member Functions | |
void | create_pfind_t (pfind_t *f, const char *key, ht_registry_data *data, ht_registry_node_type type) |
void | create_pstat_t (pstat_t *s, ht_registry_data *data, ht_registry_node_type type) |
Protected Attributes | |
char * | enum_last |
char * | enum_dir |
|
Implements Vfs. Definition at line 300 of file vfs.cc. References ht_registry::find_data_entry(), ht_registry_node_type, registry, and sys_common_canonicalize(). |
|
Implements Vfs. |
|
Definition at line 309 of file vfs.cc. References pstat_t::caps, create_pstat_t(), pstat_t::desc, ht_registry_node_type, pfind_t::name, pstat_desc, pstat_mode_type, pfind_t::stat, and ht_registry_data::strvalue(). Referenced by findFirst(), and findNext(). |
|
Definition at line 317 of file vfs.cc. References pstat_t::caps, ht_registry_node_type, HT_S_IFDIR, HT_S_IFLNK, HT_S_IFREG, pstat_t::mode, pstat_desc, pstat_mode_type, pstat_size, RNT_RAW, RNT_SUBDIR, RNT_SYMLINK, and pstat_t::size. Referenced by create_pfind_t(), and pstat(). |
|
Implements Vfs. Definition at line 336 of file vfs.cc. References app, ht_registry::create_node(), msg_config_changed, mt_broadcast, registry, ht_view::sendmsg(), and UINT. |
|
Implements Vfs. Definition at line 346 of file vfs.cc. References app, ht_registry::delete_node(), msg_config_changed, mt_broadcast, registry, and ht_view::sendmsg(). |
|
Reimplemented from Object. Definition at line 295 of file vfs.cc. References Object::done(). |
|
Implements Vfs. Definition at line 356 of file vfs.cc. References ht_stree::enum_next(), ht_registry::node_types, NULL, registry, RNT_SUBDIR, UINT, ht_data_string::value, and value. |
|
Implements Vfs. Definition at line 483 of file vfs.cc. References ht_stream::done(), and ht_stream::get_error(). |
|
Implements Vfs. |
|
Implements Vfs. |
|
Implements Vfs. Definition at line 378 of file vfs.cc. References pstat_t::caps, create_pfind_t(), enum_dir, enum_last, ht_registry::enum_next(), ht_registry_node_type, HT_S_IFDIR, pstat_t::mode, pfind_t::name, NULL, pstat_mode_type, registry, and pfind_t::stat. |
|
Implements Vfs. Definition at line 405 of file vfs.cc. References create_pfind_t(), enum_dir, enum_last, ht_registry::enum_next(), ht_registry_node_type, and registry. |
|
Implements Vfs. Definition at line 425 of file vfs.cc. References VFSCAP_WRITABLE. |
|
Implements Vfs. |
|
Reimplemented from Object. Definition at line 288 of file vfs.cc. References enum_dir, enum_last, Object::init(), and NULL. Referenced by build_vfs_list(). |
|
Implements Vfs. Definition at line 435 of file vfs.cc. References is_path_delim. |
|
Implements Vfs. Definition at line 440 of file vfs.cc. References ht_registry::create_subdir(), and registry. |
|
Implements Vfs. Definition at line 445 of file vfs.cc. References app, ht_registry_data::editdialog(), ht_registry::find_data_entry(), ht_registry_node_type, msg_config_changed, mt_broadcast, registry, and ht_view::sendmsg(). |
|
Implements Vfs. Definition at line 462 of file vfs.cc. References create_pstat_t(), ht_registry::find_any_entry(), ht_registry_node_type, ht_snprintf(), registry, and VFS_DIR_MAX. |
|
Implements Vfs. |
|
Definition at line 115 of file vfs.h. Referenced by findFirst(), findNext(), and init(). |
|
Definition at line 114 of file vfs.h. Referenced by findFirst(), findNext(), and init(). |