engine_apply
extern int engine_apply(const char *, int);
if (engine_apply($2, 1) == -1) {
(void) engine_apply($3, 0);