diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-06-15 22:33:14 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-06-15 22:48:05 -0700 |
commit | 4f1b7fec9f103c92de40875e9a06b7decc4923f4 (patch) | |
tree | d9e0f1b0e7dd290a728c065960500ecf30967997 /teensy/memzip.h | |
parent | 2547928148aefcf163953057979e14f46bef1170 (diff) | |
download | micropython-4f1b7fec9f103c92de40875e9a06b7decc4923f4.tar.gz micropython-4f1b7fec9f103c92de40875e9a06b7decc4923f4.zip |
Updated teensy to build.
Refactored some stmhal files which are shared with teensy.
Diffstat (limited to 'teensy/memzip.h')
-rw-r--r-- | teensy/memzip.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/teensy/memzip.h b/teensy/memzip.h index ecbd98763c..667e2df7e1 100644 --- a/teensy/memzip.h +++ b/teensy/memzip.h @@ -70,4 +70,14 @@ typedef enum { } MEMZIP_RESULT; +typedef struct { + uint32_t file_size; + uint16_t last_mod_date; + uint16_t last_mod_time; + uint8_t is_dir; + +} MEMZIP_FILE_INFO; + MEMZIP_RESULT memzip_locate(const char *filename, void **data, size_t *len); + +MEMZIP_RESULT memzip_stat(const char *path, MEMZIP_FILE_INFO *info); |