Lines Matching refs:comments
160 * Parse comments
170 char* comments = comment;
180 /* copy comments */
183 *comments = *str;
184 comments++;
187 *comments = '\0';
189 comments = comment;
192 pos = position_in_string(comments, "state=");
193 if (pos >= (int) strlen(comments))
203 int s = (int) comments[pos] - '0';
222 pos = position_in_string(comments, "count=");
223 if (pos >= (int) strlen(comments))
233 comments += pos;
234 ta->pending_count = (uint8_t)atoi(comments);
238 pos = position_in_string(comments, "lastchange=");
239 if (pos >= (int) strlen(comments))
247 comments += pos;
248 timestamp = atoi(comments);
259 /** Check if a line contains data (besides comments) */
462 * @param str: string with anchor and comments, if any comments.
515 * @param str: comments line
951 /* normal oneline or last line: keeps newline and comments */
956 /* more lines expected, snip off comments and newline */
960 strchr(pos, ';')[0] = 0; /* strip comments */