CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
cardsight_file_list Struct Reference

The listing of one directory, valid or carrying the error that prevented it. More...

#include <app.h>

Data Fields

struct cardsight_file_entry entries [APP_FILE_ENTRIES]
 Entries kept by the browser, directories first, then case-insensitive name order.
char path [VFS_PATH_MAX]
 Path of the listed directory, relative to the partition root.
size_t count
 Number of valid entries in entries.
size_t total
 Total number of entries seen, including those dropped because the array was full.
uint32_t partition
 Partition number the listing belongs to.
int error
 Error that stopped the listing, or zero.
bool truncated
 True when total exceeds count.
bool valid
 True once the listing has been filled, even when it holds only an error.

Detailed Description

The listing of one directory, valid or carrying the error that prevented it.


The documentation for this struct was generated from the following file: