comparison th_config.c @ 655:ae601363fdad

Doxygenization.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 25 Jan 2020 14:06:01 +0200
parents 7dce38c022d7
children a34715d51ea4
comparison
equal deleted inserted replaced
654:1092eb33bd59 655:ae601363fdad
171 } 171 }
172 172
173 173
174 /* Read a given file into configuration structure and variables 174 /* Read a given file into configuration structure and variables
175 */ 175 */
176 /// @cond
176 enum 177 enum
177 { 178 {
178 PM_EOF, 179 PM_EOF,
179 PM_ERROR, 180 PM_ERROR,
180 PM_IDLE, 181 PM_IDLE,
195 typedef struct 196 typedef struct
196 { 197 {
197 int ch, strDelim, 198 int ch, strDelim,
198 prevMode, nextMode, parseMode; 199 prevMode, nextMode, parseMode;
199 } th_cfgparserctx_t; 200 } th_cfgparserctx_t;
201
202 /// @endcond
200 203
201 204
202 static void th_cfg_set_parsemode(th_cfgparserctx_t *ctx, const int mode) 205 static void th_cfg_set_parsemode(th_cfgparserctx_t *ctx, const int mode)
203 { 206 {
204 ctx->prevMode = ctx->parseMode; 207 ctx->prevMode = ctx->parseMode;