src/log.h

changeset 13624
c6577def4e2a
parent 13389
27cf7d84dfd1
equal deleted inserted replaced
13623:fdac5e9e1a10 13624:c6577def4e2a
124 started, saved with original 124 started, saved with original
125 timezone data, if available and 125 timezone data, if available and
126 if struct tm has the BSD 126 if struct tm has the BSD
127 timezone fields, else @c NULL. 127 timezone fields, else @c NULL.
128 Do NOT modify anything in this struct.*/ 128 Do NOT modify anything in this struct.*/
129
130 /* IMPORTANT: Some code in log.c allocates these without zeroing them.
131 * IMPORTANT: Update that code if you add members here. */
129 }; 132 };
130 133
131 /** 134 /**
132 * A common logger_data struct containing a file handle and path, as well 135 * A common logger_data struct containing a file handle and path, as well
133 * as a pointer to something else for additional data. 136 * as a pointer to something else for additional data.
158 on the buddy list? */ 161 on the buddy list? */
159 char *normalized_name; /**< The normalized version of 162 char *normalized_name; /**< The normalized version of
160 @a name. It must be set, and 163 @a name. It must be set, and
161 may be set to the same pointer 164 may be set to the same pointer
162 value as @a name. */ 165 value as @a name. */
166
167 /* IMPORTANT: Some code in log.c allocates these without zeroing them.
168 * IMPORTANT: Update that code if you add members here. */
163 }; 169 };
164 170
165 #ifdef __cplusplus 171 #ifdef __cplusplus
166 extern "C" { 172 extern "C" {
167 #endif 173 #endif

mercurial