Home | History | Annotate | Download | only in src

Lines Matching refs:argptr

156       c->argptr = &arg_term;
166 if (c->arg < c->argc && (c->arg < 0 || *c->argptr == '\0')) {
180 c->argptr = c->nargptr;
189 if ((c->argptr = c->argv[++c->arg]) == NULL) {
197 c->nargptr = c->argptr;
206 " '-' chars, all ignored\n", c->argptr);
208 c->nargptr = chat_NextChar(c->argptr, '-');
215 * c->argptr now temporarily points into c->script (via c->argv)
221 (*c->argptr != '!' || c->argptr[1] == '!');
224 ExpandString(c, c->argptr, c->exp + 2, sizeof c->exp - 2, needcr);
268 c->argptr = &arg_term;
287 /* set c->argptr to point in the right place */
288 c->argptr = c->exp + (c->exp[2] == '!' ? 3 : 2);
289 c->arglen = strlen(c->argptr);
299 if (!strncmp(begin, c->argptr, c->arglen)) {
301 c->argptr += c->arglen;
307 log_Printf(LogCHAT, "Expect(%d): %s\n", c->TimeoutSec, c->argptr);
313 * We now have c->argptr pointing at what we want to expect/send and
328 return c->argptr && physical_IsSet(&c->physical->desc, fdset);
450 !strncmp(begin, c->argptr, c->arglen)) {
462 c->argptr += c->arglen;
504 while (sz >= 0 && c->argptr[sz] == '\n')
506 log_Printf(LogCHAT, "Send: %.*s\n", sz + 1, c->argptr);
515 c->argptr -= 2;
517 memcpy(c->argptr, "\377\003", 2); /* Prepend HDLC header */
520 wrote = physical_Write(c->physical, c->argptr, c->arglen);
528 c->argptr += 2;
533 c->argptr += 2;
536 c->argptr += wrote;
556 c->argptr = NULL;
579 c->argptr = NULL;