void fileset_delete(void)
Deletes the fileset and frees all associated resources.
Definition fileset.c:480
fileset_match_t
Describes the naming pattern detected in a capture file set's filenames.
Definition fileset.h:37
@ FILESET_NO_MATCH
Definition fileset.h:38
@ FILESET_NUM_TIME
Definition fileset.h:40
@ FILESET_TIME_NUM
Definition fileset.h:39
void fileset_dlg_add_file(fileset_entry *entry, void *window)
Add an entry to our dialog / window.
Definition file_set_dialog.cpp:43
fileset_entry * fileset_get_next(void)
Get the next fileset entry.
Definition fileset.c:426
fileset_match_t fileset_filename_match_pattern(const char *fname, char **prefix, char **suffix, char **time)
Determines if a filename matches a specific pattern and extracts relevant parts.
Definition fileset.c:64
void fileset_update_dlg(void *window)
Updates the file dialog with the current file entries.
Definition fileset.c:331
void fileset_add_dir(const char *fname, void *window)
Adds a directory to the fileset.
Definition fileset.c:348
void fileset_dlg_end_add_file(void *window)
Notify our dialog / window that we're done adding files.
Definition file_set_dialog.cpp:50
fileset_entry * fileset_get_previous(void)
Get the previous fileset entry.
Definition fileset.c:447
struct _fileset_entry fileset_entry
Describes a single file belonging to a capture file set.
void fileset_dlg_begin_add_file(void *window)
Definition file_set_dialog.cpp:35
const char * fileset_get_dirname(void)
Get the current directory name.
Definition fileset.c:396
void fileset_update_file(const char *path)
Updates the file entry with the given path.
Definition fileset.c:248
Describes a single file belonging to a capture file set.
Definition fileset.h:25
bool current
Definition fileset.h:31
int64_t size
Definition fileset.h:30
char * fullname
Definition fileset.h:26
time_t mtime
Definition fileset.h:29
time_t ctime
Definition fileset.h:28
char * name
Definition fileset.h:27