Initialize context. */
| 12204 | |
| 12205 | /** Initialize context. */ |
| 12206 | static void |
| 12207 | cmd_flow_context_init(struct context *ctx) |
| 12208 | { |
| 12209 | /* A full memset() is not necessary. */ |
| 12210 | ctx->curr = ZERO; |
| 12211 | ctx->prev = ZERO; |
| 12212 | ctx->next_num = 0; |
| 12213 | ctx->args_num = 0; |
| 12214 | ctx->eol = 0; |
| 12215 | ctx->last = 0; |
| 12216 | ctx->port = 0; |
| 12217 | ctx->objdata = 0; |
| 12218 | ctx->object = NULL; |
| 12219 | ctx->objmask = NULL; |
| 12220 | } |
| 12221 | |
| 12222 | /** Parse a token (cmdline API). */ |
| 12223 | static int |
no outgoing calls
no test coverage detected