Lines Matching defs:comments
161 * Parse comments
171 char* comments = comment;
181 /* copy comments */
184 *comments = *str;
185 comments++;
188 *comments = '\0';
190 comments = comment;
193 pos = position_in_string(comments, "state=");
194 if (pos >= (int) strlen(comments))
204 int s = (int) comments[pos] - '0';
223 pos = position_in_string(comments, "count=");
224 if (pos >= (int) strlen(comments))
234 comments += pos;
235 ta->pending_count = (uint8_t)atoi(comments);
239 pos = position_in_string(comments, "lastchange=");
240 if (pos >= (int) strlen(comments))
248 comments += pos;
249 timestamp = atoi(comments);
260 /** Check if a line contains data (besides comments) */
461 * @param str: string with anchor and comments, if any comments.
514 * @param str: comments line
949 /* normal oneline or last line: keeps newline and comments */
954 /* more lines expected, snip off comments and newline */
958 strchr(pos, ';')[0] = 0; /* strip comments */