LSQArchive

LSQArchive

Functions

Types and Values

Description

Functions

lsq_archive_new ()

LSQArchive *
lsq_archive_new (GFile *Param1,
                 const gchar *mime_type,
                 GError **error);

path : path to archive

Returns

LSQArchive object


lsq_archive_get_filename ()

gchar *
lsq_archive_get_filename (const LSQArchive *archive);

lsq_archive_iter_is_directory ()

gboolean
lsq_archive_iter_is_directory (const LSQArchiveIter *Param1);

lsq_archive_iter_n_children ()

guint
lsq_archive_iter_n_children (const LSQArchiveIter *Param1);

lsq_archive_iter_nth_child ()

LSQArchiveIter *
lsq_archive_iter_nth_child (LSQArchiveIter *Param1,
                            guint Param2);

lsq_archive_iter_get_child ()

LSQArchiveIter *
lsq_archive_iter_get_child (LSQArchiveIter *Param1,
                            const gchar *Param2);

lsq_archive_iter_set_prop_value ()

void
lsq_archive_iter_set_prop_value (LSQArchiveIter *iter,
                                 guint n,
                                 const GValue *value);

lsq_archive_iter_set_props ()

void
lsq_archive_iter_set_props (LSQArchiveIter *iter,
                            ...);

lsq_archive_iter_set_propsv ()

void
lsq_archive_iter_set_propsv (LSQArchiveIter *iter,
                             gpointer *props);

lsq_archive_iter_get_prop_value ()

gboolean
lsq_archive_iter_get_prop_value (const LSQArchiveIter *iter,
                                 guint n,
                                 GValue *value);

lsq_archive_add_file ()

LSQArchiveIter *
lsq_archive_add_file (LSQArchive *archive,
                      const gchar *path);

lsq_archive_get_iter ()

LSQArchiveIter *
lsq_archive_get_iter (LSQArchive *archive,
                      const gchar *path);

lsq_archive_get_entry_property_type ()

GType
lsq_archive_get_entry_property_type (const LSQArchive *archive,
                                     guint n);

lsq_archive_get_entry_property_name ()

const gchar *
lsq_archive_get_entry_property_name (const LSQArchive *archive,
                                     guint n);

Types and Values

LSQArchiveIter

typedef struct {
    LSQArchive *archive;
    LSQArchiveEntry *entry;
    LSQArchiveIter *parent;
    guint ref_count;
} LSQArchiveIter;

LSQArchive

typedef struct {
    GObject parent;
    LSQArchivePrivate  *priv;
    LSQArchiveEntry *root_entry;
    LSQArchiveIterPool *pool;
    gchar *temp_dir;
    GSList *monitor_list;
    struct {
        guint64 archive_size;
        guint64 content_size;
        guint64 n_files;
        guint64 n_directories;
    } props;
    GSList *operation_queue;
} LSQArchive;