diff 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
line wrap: on
line diff
--- a/th_ioctx.h	Fri Feb 10 02:46:57 2023 +0200
+++ b/th_ioctx.h	Sun Feb 12 09:04:33 2023 +0200
@@ -31,10 +31,10 @@
 typedef struct th_ioctx
 {
     char *filename;     ///< Context filename, if any. May be NULL.
-    bool fallocated;    ///< true if filename is allocated, false if "const"
+    bool fn_allocated;  ///< true if filename is allocated, false if "const"
     char *mode;         ///< Context's stdio open "mode", may also be NULL.
-    bool mallocated;    ///< true if mode string is allocated, false if "const"
-    bool allocated;     ///< true if this structure has been allocated
+    bool md_allocated;  ///< true if mode string is allocated, false if "const"
+    bool ctx_allocated; ///< true if this structure has been allocated
 
     void *data;         ///< Internal data
     time_t atime;       ///< Last access time