D | engine.c | 76 int (*func)(Action *a, int status, char *resp); 124 static int cb_default(Action *a, int status, char *resp) in cb_default() argument 127 fprintf(stderr,"FAILED (%s)\n", resp); in cb_default() 225 static int cb_check(Action *a, int status, char *resp, int invert) in cb_check() argument 233 fprintf(stderr,"FAILED (%s)\n", resp); in cb_check() 247 yes = match(resp, value, count); in cb_check() 258 fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp); in cb_check() 268 static int cb_require(Action *a, int status, char *resp) in cb_require() argument 270 return cb_check(a, status, resp, 0); in cb_require() 273 static int cb_reject(Action *a, int status, char *resp) in cb_reject() argument [all …]
|