Go to the source code of this file.
Macros | |
#define | GROUP_TO_HANDLE(group) (reinterpret_cast<C4GroupHandle*>(group)) |
#define | HANDLE_TO_GROUP(handle) (reinterpret_cast<C4Group*>(handle)) |
Functions | |
C4GroupHandle * | c4_group_handle_new (void) |
void | c4_group_handle_free (C4GroupHandle *handle) |
const gchar * | c4_group_handle_get_error (C4GroupHandle *handle) |
gboolean | c4_group_handle_open (C4GroupHandle *handle, const gchar *path, gboolean create) |
gboolean | c4_group_handle_open_as_child (C4GroupHandle *handle, C4GroupHandle *mother, const gchar *name, gboolean exclusive, gboolean create) |
const gchar * | c4_group_handle_get_name (C4GroupHandle *handle) |
gchar * | c4_group_handle_get_full_name (C4GroupHandle *handle) |
void | c4_group_handle_reset_search (C4GroupHandle *handle) |
gboolean | c4_group_handle_find_next_entry (C4GroupHandle *handle, const gchar *wildcard, gsize *size, gchar *filename, gboolean start_at_filename) |
gboolean | c4_group_handle_access_next_entry (C4GroupHandle *handle, const gchar *wildcard, gsize *size, gchar *filename, gboolean start_at_filename) |
gboolean | c4_group_handle_access_entry (C4GroupHandle *handle, const gchar *wildcard, gsize *size, gchar *filename, gboolean needs_to_be_a_group) |
gsize | c4_group_handle_accessed_entry_size (C4GroupHandle *handle) |
gboolean | c4_group_handle_read (C4GroupHandle *handle, gpointer buffer, gsize size) |
gboolean | c4_group_handle_is_folder (C4GroupHandle *handle) |
#define GROUP_TO_HANDLE | ( | group | ) | (reinterpret_cast<C4GroupHandle*>(group)) |
Definition at line 20 of file group-handle.cpp.
#define HANDLE_TO_GROUP | ( | handle | ) | (reinterpret_cast<C4Group*>(handle)) |
Definition at line 21 of file group-handle.cpp.
gboolean c4_group_handle_access_entry | ( | C4GroupHandle * | handle, |
const gchar * | wildcard, | ||
gsize * | size, | ||
gchar * | filename, | ||
gboolean | needs_to_be_a_group | ||
) |
Definition at line 79 of file group-handle.cpp.
References HANDLE_TO_GROUP.
Referenced by mape_group_load_entry().
gboolean c4_group_handle_access_next_entry | ( | C4GroupHandle * | handle, |
const gchar * | wildcard, | ||
gsize * | size, | ||
gchar * | filename, | ||
gboolean | start_at_filename | ||
) |
gsize c4_group_handle_accessed_entry_size | ( | C4GroupHandle * | handle | ) |
Definition at line 84 of file group-handle.cpp.
References HANDLE_TO_GROUP.
gboolean c4_group_handle_find_next_entry | ( | C4GroupHandle * | handle, |
const gchar * | wildcard, | ||
gsize * | size, | ||
gchar * | filename, | ||
gboolean | start_at_filename | ||
) |
Definition at line 69 of file group-handle.cpp.
References HANDLE_TO_GROUP.
Referenced by mape_group_get_next_entry(), and mape_group_has_entry().
void c4_group_handle_free | ( | C4GroupHandle * | handle | ) |
Definition at line 30 of file group-handle.cpp.
References HANDLE_TO_GROUP.
Referenced by mape_group_close().
const gchar* c4_group_handle_get_error | ( | C4GroupHandle * | handle | ) |
Definition at line 35 of file group-handle.cpp.
References HANDLE_TO_GROUP.
gchar* c4_group_handle_get_full_name | ( | C4GroupHandle * | handle | ) |
Definition at line 56 of file group-handle.cpp.
References StdStrBuf::getData(), StdStrBuf::getSize(), and HANDLE_TO_GROUP.
Referenced by mape_group_get_full_name(), and mape_group_is_child_folder().
const gchar* c4_group_handle_get_name | ( | C4GroupHandle * | handle | ) |
Definition at line 51 of file group-handle.cpp.
References HANDLE_TO_GROUP.
Referenced by mape_group_get_name().
gboolean c4_group_handle_is_folder | ( | C4GroupHandle * | handle | ) |
Definition at line 94 of file group-handle.cpp.
References HANDLE_TO_GROUP, C4Group::IsOpen(), and C4Group::IsPacked().
Referenced by mape_group_is_child_folder().
C4GroupHandle* c4_group_handle_new | ( | void | ) |
Definition at line 25 of file group-handle.cpp.
References GROUP_TO_HANDLE.
Referenced by mape_group_open(), and mape_group_open_child().
gboolean c4_group_handle_open | ( | C4GroupHandle * | handle, |
const gchar * | path, | ||
gboolean | create | ||
) |
Definition at line 40 of file group-handle.cpp.
References HANDLE_TO_GROUP.
Referenced by mape_group_open().
gboolean c4_group_handle_open_as_child | ( | C4GroupHandle * | handle, |
C4GroupHandle * | mother, | ||
const gchar * | name, | ||
gboolean | exclusive, | ||
gboolean | create | ||
) |
Definition at line 45 of file group-handle.cpp.
References HANDLE_TO_GROUP.
Referenced by mape_group_open_child().
gboolean c4_group_handle_read | ( | C4GroupHandle * | handle, |
gpointer | buffer, | ||
gsize | size | ||
) |
Definition at line 89 of file group-handle.cpp.
References HANDLE_TO_GROUP.
void c4_group_handle_reset_search | ( | C4GroupHandle * | handle | ) |
Definition at line 64 of file group-handle.cpp.
References HANDLE_TO_GROUP.
Referenced by mape_group_has_entry(), and mape_group_rewind().