Mercurial > hg > th-libs
comparison th_ioctx.h @ 769:8eca15bde07d
Rename some th_ioctx members.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 12 Feb 2023 09:04:33 +0200 |
parents | 31bc1ed07cf5 |
children | c17eadc60c3d |
comparison
equal
deleted
inserted
replaced
768:600a3c08747f | 769:8eca15bde07d |
---|---|
29 /** I/O context structure | 29 /** I/O context structure |
30 */ | 30 */ |
31 typedef struct th_ioctx | 31 typedef struct th_ioctx |
32 { | 32 { |
33 char *filename; ///< Context filename, if any. May be NULL. | 33 char *filename; ///< Context filename, if any. May be NULL. |
34 bool fallocated; ///< true if filename is allocated, false if "const" | 34 bool fn_allocated; ///< true if filename is allocated, false if "const" |
35 char *mode; ///< Context's stdio open "mode", may also be NULL. | 35 char *mode; ///< Context's stdio open "mode", may also be NULL. |
36 bool mallocated; ///< true if mode string is allocated, false if "const" | 36 bool md_allocated; ///< true if mode string is allocated, false if "const" |
37 bool allocated; ///< true if this structure has been allocated | 37 bool ctx_allocated; ///< true if this structure has been allocated |
38 | 38 |
39 void *data; ///< Internal data | 39 void *data; ///< Internal data |
40 time_t atime; ///< Last access time | 40 time_t atime; ///< Last access time |
41 int64_t size; ///< Size in bytes | 41 int64_t size; ///< Size in bytes |
42 int status; ///< Status | 42 int status; ///< Status |